Tests: removed unused code in unit.py.

This commit is contained in:
Andrey Zelenkov
2018-02-14 17:14:16 +03:00
parent 27b00629e1
commit ee39da0e00
8 changed files with 17 additions and 52 deletions

View File

@@ -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')