Files
Auto-GPT/tests.py
Dino Hensen d64f866bfa Convert to python module named autogpt.
Also fixed the Dockerfile.
Converting to module makes development easier.
Fixes coverage script in CI and test imports.
2023-04-14 10:27:41 -07:00

9 lines
225 B
Python

import unittest
if __name__ == "__main__":
# Load all tests from the 'autogpt/tests' package
suite = unittest.defaultTestLoader.discover('autogpt/tests')
# Run the tests
unittest.TextTestRunner().run(suite)