summaryrefslogtreecommitdiffhomepage
path: root/test/unit/main.py
diff options
context:
space:
mode:
authorAndrey Zelenkov <zelenkov@nginx.com>2019-04-09 16:14:42 +0300
committerAndrey Zelenkov <zelenkov@nginx.com>2019-04-09 16:14:42 +0300
commitaf24e4dec453af7e3dcb45347cb59bfcbc037843 (patch)
tree91c79759ac13e3b43f9856f1394217eef2feca81 /test/unit/main.py
parent7b839bf5da772d4bf61a3be95fbdbb6d4591ba63 (diff)
downloadunit-af24e4dec453af7e3dcb45347cb59bfcbc037843.tar.gz
unit-af24e4dec453af7e3dcb45347cb59bfcbc037843.tar.bz2
Tests: simplified module checking.
Diffstat (limited to '')
-rw-r--r--test/unit/main.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/unit/main.py b/test/unit/main.py
index 247f3fbf..2ab0626b 100644
--- a/test/unit/main.py
+++ b/test/unit/main.py
@@ -47,6 +47,10 @@ class TestUnit(unittest.TestCase):
unittest.main()
+ @classmethod
+ def setUpClass(cls):
+ TestUnit().check_modules(*cls.prerequisites)
+
def setUp(self):
self._run()