diff --git a/.gitignore b/.gitignore index d72357a..64d32a4 100644 --- a/.gitignore +++ b/.gitignore @@ -22,6 +22,7 @@ var/ .installed.cfg *.egg MANIFEST +.eggs # PyInstaller # Usually these files are written by a python script from a template diff --git a/setup.py b/setup.py index 4b8cbc5..71a35e0 100644 --- a/setup.py +++ b/setup.py @@ -20,5 +20,6 @@ setup(name="wormhole-sync", package_dir={"": "src"}, packages=["wormhole"], install_requires=["spake2"], + test_suite="wormhole.test", cmdclass=commands, ) diff --git a/src/wormhole/test/__init__.py b/src/wormhole/test/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/src/wormhole/test/test_load.py b/src/wormhole/test/test_load.py new file mode 100644 index 0000000..99fa242 --- /dev/null +++ b/src/wormhole/test/test_load.py @@ -0,0 +1,6 @@ +import unittest + +class Import(unittest.TestCase): + def test_import(self): + import wormhole + self.assertTrue(len(wormhole.__version__))