diff options
author | Emma Foley <emma.l.foley@intel.com> | 2017-11-23 00:00:47 +0000 |
---|---|---|
committer | Emma Foley <emma.l.foley@intel.com> | 2018-03-02 16:52:36 +0000 |
commit | 6cd3aed0077d6cced71417a48f92527ef1ecbd3e (patch) | |
tree | d54ef8013a754c4dd834b74bb35030abc94abedc /yardstick/tests/unit/benchmark/scenarios/parser/test_parser.py | |
parent | a74ad5a1ec1a73389c5983440b2031b0bc72cea1 (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 'yardstick/tests/unit/benchmark/scenarios/parser/test_parser.py')
-rw-r--r-- | yardstick/tests/unit/benchmark/scenarios/parser/test_parser.py | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/yardstick/tests/unit/benchmark/scenarios/parser/test_parser.py b/yardstick/tests/unit/benchmark/scenarios/parser/test_parser.py index ee2bbc07d..9fd5cce38 100644 --- a/yardstick/tests/unit/benchmark/scenarios/parser/test_parser.py +++ b/yardstick/tests/unit/benchmark/scenarios/parser/test_parser.py @@ -1,5 +1,3 @@ -#!/usr/bin/env python - ############################################################################## # Copyright (c) 2015 Huawei Technologies Co.,Ltd and other. # @@ -70,10 +68,3 @@ class ParserTestCase(unittest.TestCase): self.mock_call.return_value = 0 self.scenario.teardown() self.assertTrue(self.scenario.teardown_done) - - -def main(): - unittest.main() - -if __name__ == '__main__': - main() |