summaryrefslogtreecommitdiffhomepage
path: root/test/test_go_application.py
diff options
context:
space:
mode:
authorAndrey Zelenkov <zelenkov@nginx.com>2019-03-28 18:43:13 +0300
committerAndrey Zelenkov <zelenkov@nginx.com>2019-03-28 18:43:13 +0300
commit19eba1730a1ca839ed62a37f34c204f580d1b653 (patch)
treee9f54ca64fc7db66e33350826c76ef3814cfa4a0 /test/test_go_application.py
parent06b9a11494561e309114266bfe3bb001352b596c (diff)
downloadunit-19eba1730a1ca839ed62a37f34c204f580d1b653.tar.gz
unit-19eba1730a1ca839ed62a37f34c204f580d1b653.tar.bz2
Tests: unit module refactoring.
Diffstat (limited to 'test/test_go_application.py')
-rw-r--r--test/test_go_application.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/test_go_application.py b/test/test_go_application.py
index 9b39b238..8c06d583 100644
--- a/test/test_go_application.py
+++ b/test/test_go_application.py
@@ -1,10 +1,10 @@
import unittest
-import unit
+from unit.applications.lang.go import TestApplicationGo
-class TestUnitGoApplication(unit.TestUnitApplicationGo):
+class TestGoApplication(TestApplicationGo):
def setUpClass():
- unit.TestUnit().check_modules('go')
+ TestApplicationGo().check_modules('go')
def test_go_application_variables(self):
self.load('variables')
@@ -184,4 +184,4 @@ class TestUnitGoApplication(unit.TestUnitApplicationGo):
if __name__ == '__main__':
- TestUnitGoApplication.main()
+ TestGoApplication.main()