From 8f54b1960e2050536f34f091c1de291febd486df Mon Sep 17 00:00:00 2001 From: Yves Fischer Date: Sun, 24 Jul 2016 00:55:33 +0200 Subject: move doctest to unittest fix small bug with parsing quoted escaped escapes --- test.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'test.py') 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 -- cgit v1.2.1