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/traffic_profile/test_ixia_rfc2544.py | 6 ------ 1 file changed, 6 deletions(-) (limited to 'tests/unit/network_services/traffic_profile/test_ixia_rfc2544.py') diff --git a/tests/unit/network_services/traffic_profile/test_ixia_rfc2544.py b/tests/unit/network_services/traffic_profile/test_ixia_rfc2544.py index 75e41ebab..e8910d62b 100644 --- a/tests/unit/network_services/traffic_profile/test_ixia_rfc2544.py +++ b/tests/unit/network_services/traffic_profile/test_ixia_rfc2544.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"); @@ -611,7 +609,3 @@ class TestIXIARFC2544Profile(unittest.TestCase): r_f_c2544_profile._ixia_traffic_generate = mock.Mock() self.assertIsNone( r_f_c2544_profile.start_ixia_latency(traffic_generator, ixia_obj)) - - -if __name__ == '__main__': - unittest.main() -- cgit 1.2.3-korg