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
/
common
/
test_template_format.py
diff --git
a/yardstick/tests/unit/common/test_template_format.py
b/yardstick/tests/unit/common/test_template_format.py
index
44aa803
..
56253ef
100644
(file)
--- a/
yardstick/tests/unit/common/test_template_format.py
+++ b/
yardstick/tests/unit/common/test_template_format.py
@@
-45,10
+45,3
@@
class TemplateFormatTestCase(unittest.TestCase):
"Resources: {}\n" \
"Outputs: {}"
self.assertRaises(ValueError, template_format.parse, yaml2)
-
-
-def main():
- unittest.main()
-
-if __name__ == '__main__':
- main()