From 560f86d452277084a1be04fbc4c0e8c5f1206ff5 Mon Sep 17 00:00:00 2001 From: Vee9ahd1 Date: Sat, 11 May 2019 17:46:21 -0400 Subject: basic testing system --- setup.py | 6 +++++- test/__init__.py | 0 test/cli_test.py | 7 +++++++ 3 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 test/__init__.py create mode 100644 test/cli_test.py diff --git a/setup.py b/setup.py index 8acb130..085150a 100644 --- a/setup.py +++ b/setup.py @@ -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 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() -- cgit v1.2.1