Autodiscover tests in current module

parent 7eff7b80
...@@ -439,12 +439,7 @@ class SlaprunnerTestCase(unittest.TestCase): ...@@ -439,12 +439,7 @@ class SlaprunnerTestCase(unittest.TestCase):
self.logout() self.logout()
def main(): def main():
argv = ['', 'test_wrong_login', 'test_configAccount', unittest.main(module=__name__)
'test_login_logout', 'test_updateAccount', 'test_startProxy',
'test_cloneProject', 'test_createSR', 'test_openSR',
'test_runSoftware', 'test_updateInstanceParameter',
'test_requestInstance']
unittest.main(module=SlaprunnerTestCase, argv=argv)
if __name__ == '__main__': if __name__ == '__main__':
main() main()
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment