From ee39da0e00423d2e4f109f90142c3543e819c14d Mon Sep 17 00:00:00 2001 From: Andrey Zelenkov Date: Wed, 14 Feb 2018 17:14:16 +0300 Subject: Tests: removed unused code in unit.py. --- test/test_python_keepalive.py | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'test/test_python_keepalive.py') diff --git a/test/test_python_keepalive.py b/test/test_python_keepalive.py index 3f49c2b3..eadf922c 100644 --- a/test/test_python_keepalive.py +++ b/test/test_python_keepalive.py @@ -1,13 +1,10 @@ import unittest import unit -class TestUnitApplication(unit.TestUnitControl): +class TestUnitPythonKeepalive(unit.TestUnitControl): def setUpClass(): - u = unit.TestUnit() - - u.check_modules('python') - u.check_version('0.5') + unit.TestUnit().check_modules('python') def test_python_keepalive_body(self): code, name = """ -- cgit