diff options
author | Vee9ahd1 <[email protected]> | 2019-05-11 17:46:21 -0400 |
---|---|---|
committer | Vee9ahd1 <[email protected]> | 2019-05-11 17:46:21 -0400 |
commit | 560f86d452277084a1be04fbc4c0e8c5f1206ff5 (patch) | |
tree | 486c8499444f25faca0b8d20e336f47d678f32f7 | |
parent | 24d5916a72a73419a5e23521854f474e792422d8 (diff) |
basic testing system
-rw-r--r-- | setup.py | 6 | ||||
-rw-r--r-- | test/__init__.py | 0 | ||||
-rw-r--r-- | test/cli_test.py | 7 |
3 files changed, 12 insertions, 1 deletions
@@ -17,5 +17,9 @@ setuptools.setup( "Programming Language :: Python :: 3", "License :: OSI Approved :: GPL", "Operating System :: OS Independent", - ], + ],# TODO: additional classifiers needed + entry_points={ + 'console_scripts': ['gantools=gantools.cli:main'], + }, + test_suite='test', ) diff --git a/test/__init__.py b/test/__init__.py new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/test/__init__.py diff --git a/test/cli_test.py b/test/cli_test.py new file mode 100644 index 0000000..392d5da --- /dev/null +++ b/test/cli_test.py @@ -0,0 +1,7 @@ +import unittest + +class TestCli(unittest.TestCase): + def test_main(self): + self.assertEqual(True,True,"Will always pass") +if __name__ == '__main__': + unittest.main() |