summaryrefslogtreecommitdiff
path: root/tests/utest.py
diff options
context:
space:
mode:
authorBob Halley <halley@dnspython.org>2014-05-31 11:07:58 -0700
committerBob Halley <halley@dnspython.org>2014-05-31 11:07:58 -0700
commitc8e17fc02a2d3ebbee3e7c34cd7828858e13fe57 (patch)
tree2deaf7d17d62a72616828e321310fb67aedcc1c7 /tests/utest.py
parent1c8b777f3f0a9881f8286127d1e42b01e95876c4 (diff)
downloaddnspython-c8e17fc02a2d3ebbee3e7c34cd7828858e13fe57.tar.gz
overhaul test system
Diffstat (limited to 'tests/utest.py')
-rw-r--r--tests/utest.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/utest.py b/tests/utest.py
new file mode 100644
index 0000000..32c1d75
--- /dev/null
+++ b/tests/utest.py
@@ -0,0 +1,8 @@
+import os.path
+import sys
+import unittest
+
+if __name__ == '__main__':
+ sys.path.insert(0, os.path.realpath('..'))
+ suites = unittest.defaultTestLoader.discover('.')
+ unittest.TextTestRunner(verbosity=2).run(suites)