diff options
author | Andrey Zelenkov <zelenkov@nginx.com> | 2019-03-28 18:43:13 +0300 |
---|---|---|
committer | Andrey Zelenkov <zelenkov@nginx.com> | 2019-03-28 18:43:13 +0300 |
commit | 19eba1730a1ca839ed62a37f34c204f580d1b653 (patch) | |
tree | e9f54ca64fc7db66e33350826c76ef3814cfa4a0 /test/test_settings.py | |
parent | 06b9a11494561e309114266bfe3bb001352b596c (diff) | |
download | unit-19eba1730a1ca839ed62a37f34c204f580d1b653.tar.gz unit-19eba1730a1ca839ed62a37f34c204f580d1b653.tar.bz2 |
Tests: unit module refactoring.
Diffstat (limited to '')
-rw-r--r-- | test/test_settings.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/test_settings.py b/test/test_settings.py index 85bbfb44..b34883b8 100644 --- a/test/test_settings.py +++ b/test/test_settings.py @@ -1,12 +1,12 @@ import time import socket import unittest -import unit +from unit.applications.lang.python import TestApplicationPython -class TestUnitSettings(unit.TestUnitApplicationPython): +class TestSettings(TestApplicationPython): def setUpClass(): - unit.TestUnit().check_modules('python') + TestApplicationPython().check_modules('python') def test_settings_header_read_timeout(self): self.load('empty') @@ -226,4 +226,4 @@ Connection: close if __name__ == '__main__': - TestUnitSettings.main() + TestSettings.main() |