From 6cd3aed0077d6cced71417a48f92527ef1ecbd3e Mon Sep 17 00:00:00 2001 From: Emma Foley Date: Thu, 23 Nov 2017 00:00:47 +0000 Subject: 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 --- tests/unit/network_services/vnf_generic/vnf/test_router_vnf.py | 5 ----- 1 file changed, 5 deletions(-) (limited to 'tests/unit/network_services/vnf_generic/vnf/test_router_vnf.py') diff --git a/tests/unit/network_services/vnf_generic/vnf/test_router_vnf.py b/tests/unit/network_services/vnf_generic/vnf/test_router_vnf.py index 21e6c59fb..c6292f258 100644 --- a/tests/unit/network_services/vnf_generic/vnf/test_router_vnf.py +++ b/tests/unit/network_services/vnf_generic/vnf/test_router_vnf.py @@ -1,5 +1,3 @@ -#!/usr/bin/env python - # Copyright (c) 2016-2017 Intel Corporation # # Licensed under the Apache License, Version 2.0 (the "License"); @@ -262,6 +260,3 @@ class TestRouterVNF(unittest.TestCase): router_vnf._vnf_process = mock.MagicMock() router_vnf._vnf_process.terminate = mock.Mock() self.assertIsNone(router_vnf.terminate()) - -if __name__ == '__main__': - unittest.main() -- cgit 1.2.3-korg