summaryrefslogtreecommitdiffhomepage
path: root/test/test_configuration.py
diff options
context:
space:
mode:
authorAndrey Zelenkov <zelenkov@nginx.com>2018-02-14 17:14:16 +0300
committerAndrey Zelenkov <zelenkov@nginx.com>2018-02-14 17:14:16 +0300
commitee39da0e00423d2e4f109f90142c3543e819c14d (patch)
treeb08346f2f11f25ed6bc5438eb81795c2666df549 /test/test_configuration.py
parent27b00629e1e3af2f8b84aa349351df50f05f3c83 (diff)
downloadunit-ee39da0e00423d2e4f109f90142c3543e819c14d.tar.gz
unit-ee39da0e00423d2e4f109f90142c3543e819c14d.tar.bz2
Tests: removed unused code in unit.py.
Diffstat (limited to '')
-rw-r--r--test/test_configuration.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/test/test_configuration.py b/test/test_configuration.py
index b5b6a179..700e4aa1 100644
--- a/test/test_configuration.py
+++ b/test/test_configuration.py
@@ -4,10 +4,7 @@ import unit
class TestUnitConfiguration(unit.TestUnitControl):
def setUpClass():
- u = unit.TestUnit()
-
- u.check_modules('python')
- u.check_version('0.5')
+ unit.TestUnit().check_modules('python')
def test_json_leading_zero(self):
self.assertIn('error', self.conf('00'), 'leading zero')