summaryrefslogtreecommitdiffhomepage
path: root/test/test_node_application.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_node_application.py')
-rw-r--r--test/test_node_application.py9
1 files changed, 5 insertions, 4 deletions
diff --git a/test/test_node_application.py b/test/test_node_application.py
index c2b0ed69..a0b882f3 100644
--- a/test/test_node_application.py
+++ b/test/test_node_application.py
@@ -1,8 +1,9 @@
-import pytest
import re
-from unit.applications.lang.node import TestApplicationNode
+import pytest
+
from conftest import waitforfiles
+from unit.applications.lang.node import TestApplicationNode
class TestNodeApplication(TestApplicationNode):
@@ -50,8 +51,8 @@ class TestNodeApplication(TestApplicationNode):
raw_headers = headers.pop('Request-Raw-Headers')
assert re.search(
r'^(?:Host|localhost|Content-Type|'
- 'text\/html|Custom-Header|blah|Content-Length|17|Connection|'
- 'close|,)+$',
+ r'text\/html|Custom-Header|blah|Content-Length|17|Connection|'
+ r'close|,)+$',
raw_headers,
), 'raw headers'