From 511a0fa7605e61f90e524edfbcbefa230573e32f Mon Sep 17 00:00:00 2001 From: Andrey Zelenkov Date: Thu, 6 Sep 2018 20:18:33 +0300 Subject: Tests: used relative path for configuration. --- test/test_go_application.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'test/test_go_application.py') diff --git a/test/test_go_application.py b/test/test_go_application.py index abc2c4c1..650d1c27 100644 --- a/test/test_go_application.py +++ b/test/test_go_application.py @@ -110,13 +110,13 @@ class TestUnitGoApplication(unit.TestUnitApplicationGo): self.load('command_line_arguments') self.assertIn('error', self.conf(''"a b c", - '/applications/command_line_arguments/arguments'), 'arguments type') + 'applications/command_line_arguments/arguments'), 'arguments type') def test_go_application_command_line_arguments_0(self): self.load('command_line_arguments') self.assertEqual(self.get()['headers']['X-Arg-0'], - self.conf_get('/applications/command_line_arguments/executable'), + self.conf_get('applications/command_line_arguments/executable'), 'argument 0') def test_go_application_command_line_arguments(self): @@ -127,7 +127,7 @@ class TestUnitGoApplication(unit.TestUnitApplicationGo): arg3 = '--debug' self.conf('["' + arg1 + '", "' + arg2 + '", "' + arg3 + '"]', - '/applications/command_line_arguments/arguments') + 'applications/command_line_arguments/arguments') self.assertEqual(self.get()['body'], arg1 + ',' + arg2 + ',' + arg3, 'arguments') @@ -135,7 +135,7 @@ class TestUnitGoApplication(unit.TestUnitApplicationGo): def test_go_application_command_line_arguments_change(self): self.load('command_line_arguments') - args_path = '/applications/command_line_arguments/arguments' + args_path = 'applications/command_line_arguments/arguments' self.conf('["0", "a", "$", ""]', args_path) -- cgit