Permalink
Browse files

Use the testcases from python 2.7 instead of python 3. Removed Dialec…

…t and Sniffer tests and enabled the Unicode tests. Added a testrunner.
  • Loading branch information...
Jaap Roes
Jaap Roes committed Nov 21, 2011
1 parent 0d174d7 commit a8c8936cd1fd655b5717673270d94aacd616d30c
Showing with 244 additions and 343 deletions.
  1. +9 −0 runtests.py
  2. +2 −0 setup.py
  3. +233 −343 { → unicodecsv}/test.py
View
@@ -0,0 +1,9 @@
+import unittest2
+
+def get_suite():
+ loader = unittest2.TestLoader()
+ suite = loader.discover('unicodecsv')
+ return suite
+
+if __name__ == '__main__':
+ get_suite().run()
View
@@ -12,5 +12,7 @@
author='Jeremy Dunck',
url='https://github.com/jdunck/python-unicodecsv',
packages=find_packages(),
+ tests_require=['unittest2>=0.5.1'],
+ test_suite='runtests.get_suite',
)
Oops, something went wrong.

0 comments on commit a8c8936

Please sign in to comment.