From 19eba1730a1ca839ed62a37f34c204f580d1b653 Mon Sep 17 00:00:00 2001 From: Andrey Zelenkov Date: Thu, 28 Mar 2019 18:43:13 +0300 Subject: Tests: unit module refactoring. --- test/test_python_procman.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'test/test_python_procman.py') diff --git a/test/test_python_procman.py b/test/test_python_procman.py index f4f53678..461846e3 100644 --- a/test/test_python_procman.py +++ b/test/test_python_procman.py @@ -2,12 +2,12 @@ import re import time import subprocess import unittest -import unit +from unit.applications.lang.python import TestApplicationPython -class TestUnitPythonProcman(unit.TestUnitApplicationPython): +class TestPythonProcman(TestApplicationPython): def setUpClass(): - unit.TestUnit().check_modules('python') + TestApplicationPython().check_modules('python') def pids_for_process(self): time.sleep(0.2) @@ -280,4 +280,4 @@ class TestUnitPythonProcman(unit.TestUnitApplicationPython): if __name__ == '__main__': - TestUnitPythonProcman.main() + TestPythonProcman.main() -- cgit