mirror of
https://github.com/zulip/zulip.git
synced 2025-11-02 04:53:36 +00:00
pep8: Add compliance with rule E261 to test-tools.
This commit is contained in:
@@ -29,7 +29,7 @@ if __name__ == '__main__':
|
||||
|
||||
sys.path.insert(0, root_dir)
|
||||
|
||||
loader = unittest.TestLoader() # type: ignore # https://github.com/python/typeshed/issues/372
|
||||
loader = unittest.TestLoader() # type: ignore # https://github.com/python/typeshed/issues/372
|
||||
|
||||
if args.coverage:
|
||||
import coverage
|
||||
@@ -38,7 +38,7 @@ if __name__ == '__main__':
|
||||
|
||||
suite = loader.discover(start_dir=tools_test_dir, top_level_dir=root_dir)
|
||||
runner = unittest.TextTestRunner(verbosity=2)
|
||||
result = runner.run(suite) # type: ignore # https://github.com/python/typeshed/issues/372
|
||||
result = runner.run(suite) # type: ignore # https://github.com/python/typeshed/issues/372
|
||||
if result.errors or result.failures:
|
||||
raise Exception('Test failed!')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user