Repository URL to install this package:
|
Version:
0.26.0 ▾
|
# Copyright (C) 2016-present the asyncpg authors and contributors
# <see AUTHORS file>
#
# This module is part of asyncpg and is released under
# the Apache 2.0 License: http://www.apache.org/licenses/LICENSE-2.0
import pathlib
import sys
import unittest
def suite():
test_loader = unittest.TestLoader()
test_suite = test_loader.discover(str(pathlib.Path(__file__).parent),
pattern='test_*.py')
return test_suite
if __name__ == '__main__':
runner = unittest.runner.TextTestRunner(verbosity=2)
result = runner.run(suite())
sys.exit(not result.wasSuccessful())