summaryrefslogtreecommitdiffhomepage
path: root/test/test_go_application.py
diff options
context:
space:
mode:
authorAndrei Zeliankou <zelenkov@nginx.com>2022-04-11 21:05:14 +0100
committerAndrei Zeliankou <zelenkov@nginx.com>2022-04-11 21:05:14 +0100
commit0f725346603f4de4473d12da502104b188ac02a4 (patch)
tree7f8254a816965d49c4d6d98da34f00c81894f7e8 /test/test_go_application.py
parentaeed86c6829c62359e79f239b849766efb8857a7 (diff)
downloadunit-0f725346603f4de4473d12da502104b188ac02a4.tar.gz
unit-0f725346603f4de4473d12da502104b188ac02a4.tar.bz2
Tests: style.
Diffstat (limited to 'test/test_go_application.py')
-rw-r--r--test/test_go_application.py8
1 files changed, 2 insertions, 6 deletions
diff --git a/test/test_go_application.py b/test/test_go_application.py
index 7c897b20..c8cf3e53 100644
--- a/test/test_go_application.py
+++ b/test/test_go_application.py
@@ -157,9 +157,7 @@ class TestGoApplication(TestApplicationGo):
'applications/command_line_arguments/arguments',
)
- assert (
- self.get()['body'] == arg1 + ',' + arg2 + ',' + arg3
- ), 'arguments'
+ assert self.get()['body'] == arg1 + ',' + arg2 + ',' + arg3, 'arguments'
def test_go_application_command_line_arguments_change(self):
self.load('command_line_arguments')
@@ -176,6 +174,4 @@ class TestGoApplication(TestApplicationGo):
assert 'success' in self.conf('[]', args_path)
- assert (
- self.get()['headers']['Content-Length'] == '0'
- ), 'arguments empty'
+ assert self.get()['headers']['Content-Length'] == '0', 'arguments empty'