summaryrefslogtreecommitdiffhomepage
path: root/test/test_routing.py
diff options
context:
space:
mode:
authorAndrei Zeliankou <zelenkov@nginx.com>2020-05-15 04:20:56 +0100
committerAndrei Zeliankou <zelenkov@nginx.com>2020-05-15 04:20:56 +0100
commitce4a2bbd05f42d258f9bf7880060a604ac1a866e (patch)
treed784c0b21d55389590bcbec91aa486e0755490ce /test/test_routing.py
parentcf73fb809395da2a97e4a11a1185647e1d2b1d3d (diff)
downloadunit-ce4a2bbd05f42d258f9bf7880060a604ac1a866e.tar.gz
unit-ce4a2bbd05f42d258f9bf7880060a604ac1a866e.tar.bz2
Tests: style.
Diffstat (limited to 'test/test_routing.py')
-rw-r--r--test/test_routing.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/test_routing.py b/test/test_routing.py
index 9e45707e..5c4de519 100644
--- a/test/test_routing.py
+++ b/test/test_routing.py
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
-
import unittest
+
from unit.applications.proto import TestApplicationProto
@@ -1871,5 +1871,6 @@ class TestRouting(TestApplicationProto):
self.assertEqual(self.get()['status'], 200, 'proxy')
+
if __name__ == '__main__':
TestRouting.main()