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_routing.py | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'test/test_routing.py') diff --git a/test/test_routing.py b/test/test_routing.py index b5c42576..bc84dd6f 100644 --- a/test/test_routing.py +++ b/test/test_routing.py @@ -1,10 +1,9 @@ -import unittest -import unit +from unit.applications.proto import TestApplicationProto -class TestUnitRouting(unit.TestUnitApplicationProto): +class TestRouting(TestApplicationProto): def setUpClass(): - unit.TestUnit().check_modules('python') + TestApplicationProto().check_modules('python') def setUp(self): super().setUp() @@ -761,4 +760,4 @@ class TestUnitRouting(unit.TestUnitApplicationProto): if __name__ == '__main__': - TestUnitRouting.main() + TestRouting.main() -- cgit