summaryrefslogtreecommitdiffhomepage
path: root/test/test_configuration.py
diff options
context:
space:
mode:
authorAndrey Zelenkov <zelenkov@nginx.com>2018-02-05 15:39:11 +0300
committerAndrey Zelenkov <zelenkov@nginx.com>2018-02-05 15:39:11 +0300
commit3faa154223d0e4013bcfc07d71cea5ed671dfdf8 (patch)
treee967006e711e43ab4ad870275784d3a12fe263a6 /test/test_configuration.py
parentf7195e7016202a50eb8779154e95cdd1bbc58b0f (diff)
downloadunit-3faa154223d0e4013bcfc07d71cea5ed671dfdf8.tar.gz
unit-3faa154223d0e4013bcfc07d71cea5ed671dfdf8.tar.bz2
Tests: adjusted check_version()'s.
Diffstat (limited to 'test/test_configuration.py')
-rw-r--r--test/test_configuration.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/test_configuration.py b/test/test_configuration.py
index 700e4aa1..b5b6a179 100644
--- a/test/test_configuration.py
+++ b/test/test_configuration.py
@@ -4,7 +4,10 @@ import unit
class TestUnitConfiguration(unit.TestUnitControl):
def setUpClass():
- unit.TestUnit().check_modules('python')
+ u = unit.TestUnit()
+
+ u.check_modules('python')
+ u.check_version('0.5')
def test_json_leading_zero(self):
self.assertIn('error', self.conf('00'), 'leading zero')