Code Review
/
yardstick.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
Remove main() and __main__ from tests.
[yardstick.git]
/
yardstick
/
tests
/
unit
/
benchmark
/
scenarios
/
lib
/
test_check_connectivity.py
diff --git
a/yardstick/tests/unit/benchmark/scenarios/lib/test_check_connectivity.py
b/yardstick/tests/unit/benchmark/scenarios/lib/test_check_connectivity.py
index
7188c29
..
a48353a
100644
(file)
--- a/
yardstick/tests/unit/benchmark/scenarios/lib/test_check_connectivity.py
+++ b/
yardstick/tests/unit/benchmark/scenarios/lib/test_check_connectivity.py
@@
-76,11
+76,3
@@
class CheckConnectivityTestCase(unittest.TestCase):
obj.setup()
mock_ssh.SSH.execute.return_value = (0, '100', '')
-
-
-def main():
- unittest.main()
-
-
-if __name__ == '__main__':
- main()