Commits

acordiner  committed 93f6ede

Import unit test

  • Participants
  • Parent commits 3f1237d

Comments (0)

Files changed (4)

File csvquerytool/test/__init__.py

Empty file removed.
     version='0.0.2',
     author='Alister Cordiner',
     author_email='alister@cordiner.net',
-    packages=['csvquerytool', 'csvquerytool.test'],
+    packages=['csvquerytool', 'test'],
     scripts=['bin/csvquery'],
     url='http://bitbucket.org/acordiner/csvquerytool/',
     license='http://www.gnu.org/licenses/gpl.html',
     description='Execute SQL queries on CSV files.',
     long_description=open('README.txt').read(),
-    install_requires=[],
 )

File test/__init__.py

Empty file added.

File test/test_import.py

+import unittest
+
+class ImportTests(unittest.TestCase):
+
+    def test_import(self):
+        import csvquerytool
+
+if __name__ == "__main__":
+    unittest.main()