diff options
Diffstat (limited to 'test/test_http_header.py')
-rw-r--r-- | test/test_http_header.py | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/test/test_http_header.py b/test/test_http_header.py index 002a8826..d14514e2 100644 --- a/test/test_http_header.py +++ b/test/test_http_header.py @@ -1,10 +1,9 @@ -import unittest -import unit +from unit.applications.lang.python import TestApplicationPython -class TestUnitHTTPHeader(unit.TestUnitApplicationPython): +class TestHTTPHeader(TestApplicationPython): def setUpClass(): - unit.TestUnit().check_modules('python') + TestApplicationPython().check_modules('python') def test_http_header_value_leading_sp(self): self.load('custom_header') @@ -482,4 +481,4 @@ Connection: close if __name__ == '__main__': - TestUnitHTTPHeader.main() + TestHTTPHeader.main() |