summaryrefslogtreecommitdiffstats
path: root/tests/unit/network_services/nfvi
diff options
context:
space:
mode:
authorEmma Foley <emma.l.foley@intel.com>2017-11-23 00:00:47 +0000
committerEmma Foley <emma.l.foley@intel.com>2018-03-02 16:52:36 +0000
commit6cd3aed0077d6cced71417a48f92527ef1ecbd3e (patch)
treed54ef8013a754c4dd834b74bb35030abc94abedc /tests/unit/network_services/nfvi
parenta74ad5a1ec1a73389c5983440b2031b0bc72cea1 (diff)
Remove main() and __main__ from tests.
Removes the unnecessary main() functions from tests. Also removes shebang (#!) where it appears at the top of files. JIRA: YARDSTICK-861 Change-Id: I79180d1eb9c5bce640142dd62ce28c7437c1b210 Signed-off-by: Emma Foley <emma.l.foley@intel.com>
Diffstat (limited to 'tests/unit/network_services/nfvi')
-rw-r--r--tests/unit/network_services/nfvi/test_resource.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/tests/unit/network_services/nfvi/test_resource.py b/tests/unit/network_services/nfvi/test_resource.py
index d5280eabb..f5f7f0fe7 100644
--- a/tests/unit/network_services/nfvi/test_resource.py
+++ b/tests/unit/network_services/nfvi/test_resource.py
@@ -271,6 +271,3 @@ class TestResourceProfile(unittest.TestCase):
# TODO(efoley): Fix this incorrect test.
# Should check that we don't try to stop amqp when it's not running
self.assertIsNone(self.resource_profile.stop())
-
-if __name__ == '__main__':
- unittest.main()