diff --git a/setup.py b/setup.py index f6fb430..ed63dba 100644 --- a/setup.py +++ b/setup.py @@ -11,6 +11,12 @@ except ImportError: from setuptools import setup, find_packages, Command import sphinxtogithub +from sphinxtogithub.tests import ( + filehandler, + directoryhandler, + replacer, + renamer +) class RunTests(Command): description = "Run the sphinxtogithub test suite." @@ -25,10 +31,10 @@ class RunTests(Command): def run(self): suites = [ - sphinxtogithub.test.filehandler.testSuite(), - sphinxtogithub.test.directoryhandler.testSuite(), - sphinxtogithub.test.replacer.testSuite(), - sphinxtogithub.test.renamer.testSuite(), + filehandler.testSuite(), + directoryhandler.testSuite(), + replacer.testSuite(), + renamer.testSuite(), ] suite = unittest.TestSuite(suites) diff --git a/sphinxtogithub/test/__init__.py b/sphinxtogithub/tests/__init__.py similarity index 100% rename from sphinxtogithub/test/__init__.py rename to sphinxtogithub/tests/__init__.py diff --git a/sphinxtogithub/test/directoryhandler.py b/sphinxtogithub/tests/directoryhandler.py similarity index 100% rename from sphinxtogithub/test/directoryhandler.py rename to sphinxtogithub/tests/directoryhandler.py diff --git a/sphinxtogithub/test/filehandler.py b/sphinxtogithub/tests/filehandler.py similarity index 100% rename from sphinxtogithub/test/filehandler.py rename to sphinxtogithub/tests/filehandler.py diff --git a/sphinxtogithub/test/renamer.py b/sphinxtogithub/tests/renamer.py similarity index 100% rename from sphinxtogithub/test/renamer.py rename to sphinxtogithub/tests/renamer.py diff --git a/sphinxtogithub/test/replacer.py b/sphinxtogithub/tests/replacer.py similarity index 100% rename from sphinxtogithub/test/replacer.py rename to sphinxtogithub/tests/replacer.py