Skip to content
Snippets Groups Projects
Commit cedfbb3e authored by ale's avatar ale
Browse files

Dump Apache logs to help debugging

parent 6d47e52d
Branches
No related tags found
1 merge request!4Drop Python 2 support
......@@ -65,7 +65,8 @@ def _stop_httpd(httpd):
except OSError:
pass
dump_log = (os.getenv('DUMP_APACHE_LOG') == '1')
#dump_log = (os.getenv('DUMP_APACHE_LOG') == '1')
dump_log = True
status = httpd.wait()
if os.WIFEXITED(status):
if os.WEXITSTATUS(status) != 0:
......@@ -298,7 +299,7 @@ class HttpdIntegrationTestBase(unittest.TestCase):
self.assertTrue(set_cookie_hdr)
cookies.load(set_cookie_hdr)
self.assertTrue('SSO_test' in cookies,
'missing cookie: %s' % cookies.js_output())
'missing cookie: %s' % cookies.output())
self.assertEquals(tkt, cookies['SSO_test'].value)
conn.close()
......@@ -357,7 +358,7 @@ class HttpdIntegrationTest(HttpdIntegrationTestBase):
self.assertTrue(set_cookie_hdr)
cookies.load(set_cookie_hdr)
self.assertTrue('SSO_test' in cookies,
'missing cookie: %s' % cookies.js_output())
'missing cookie: %s' % cookies.output())
self.assertEquals(tkt, cookies['SSO_test'].value)
conn.close()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment