summaryrefslogtreecommitdiffhomepage
path: root/test/test_go_application.py
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--test/test_go_application.py9
1 files changed, 2 insertions, 7 deletions
diff --git a/test/test_go_application.py b/test/test_go_application.py
index 94da1aee..c8cf3e53 100644
--- a/test/test_go_application.py
+++ b/test/test_go_application.py
@@ -1,7 +1,6 @@
import re
import pytest
-
from unit.applications.lang.go import TestApplicationGo
@@ -158,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')
@@ -177,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'