summaryrefslogtreecommitdiff
path: root/test.py
diff options
context:
space:
mode:
authorYves Fischer <yvesf-git@xapek.org>2016-07-24 00:55:33 +0200
committerYves Fischer <yvesf-git@xapek.org>2016-07-24 00:58:37 +0200
commit8f54b1960e2050536f34f091c1de291febd486df (patch)
tree63de297dc93365e67cb2e0af2ee81e9d94e9fabb /test.py
parentfbb91144484ad729c2d6b54c69d4ce3a6c80aa55 (diff)
downloadpyinflux-master.tar.gz
pyinflux-master.zip
move doctest to unittestHEADmaster
fix small bug with parsing quoted escaped escapes
Diffstat (limited to 'test.py')
-rwxr-xr-xtest.py7
1 files changed, 3 insertions, 4 deletions
diff --git a/test.py b/test.py
index a87b2e0..c3fad8e 100755
--- a/test.py
+++ b/test.py
@@ -1,7 +1,6 @@
#!/usr/bin/env python3
-from doctest import testmod
-from pyinflux import client, parser
+import unittest
+from pyinflux import client, parser, test
if __name__ == '__main__':
- testmod(m=client)
- testmod(m=parser)
+ unittest.TextTestRunner().run(unittest.findTestCases(test)) \ No newline at end of file