summaryrefslogtreecommitdiffhomepage
path: root/test/test_python_environment.py
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--test/test_python_environment.py9
1 files changed, 4 insertions, 5 deletions
diff --git a/test/test_python_environment.py b/test/test_python_environment.py
index 8ab82089..8debadda 100644
--- a/test/test_python_environment.py
+++ b/test/test_python_environment.py
@@ -1,10 +1,9 @@
-import unittest
-import unit
+from unit.applications.lang.python import TestApplicationPython
-class TestUnitPythonEnvironment(unit.TestUnitApplicationPython):
+class TestPythonEnvironment(TestApplicationPython):
def setUpClass():
- unit.TestUnit().check_modules('python')
+ TestApplicationPython().check_modules('python')
def test_python_environment_name_null(self):
self.load('environment')
@@ -178,4 +177,4 @@ class TestUnitPythonEnvironment(unit.TestUnitApplicationPython):
if __name__ == '__main__':
- TestUnitPythonEnvironment.main()
+ TestPythonEnvironment.main()