azure-functions-durable-python/tests/__init__.py

17 строки
358 B
Python
Исходник Обычный вид История

2019-08-02 00:27:36 +03:00
import os
import sys
import unittest
def suite():
test_loader = unittest.TestLoader()
test_suite = test_loader.discover(
os.path.dirname(__file__), pattern='test_*.py')
return test_suite
if __name__ == '__main__':
runner = unittest.runner.TextTestRunner()
result = runner.run(suite())
sys.exit(not result.wasSuccessful())