Skip to content

Commit

Permalink
Debugging travis error
Browse files Browse the repository at this point in the history
  • Loading branch information
lorien committed Nov 22, 2015
1 parent b5d7c82 commit a4df674
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/grab_debug.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,9 @@ def test_log_dir_request_content_headers_and_post(self):
g.go(self.server.get_url())
self.assertEqual(sorted(os.listdir(tmp_dir)), ['01.html', '01.log'])
log_file_content = open(os.path.join(tmp_dir, '01.log')).read()
if not 'x-name' in log_file_content.lower():
print('CONTENT OF 01.log:')
print(log_file_content)
self.assertTrue('x-name' in log_file_content.lower())
self.assertTrue('xxx=post' in log_file_content.lower())

Expand Down

0 comments on commit a4df674

Please sign in to comment.