Skip to content

Commit

Permalink
Removed debug code
Browse files Browse the repository at this point in the history
  • Loading branch information
elpaso committed Feb 22, 2016
1 parent 82cee03 commit 3df100f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/src/python/test_qgsserver.py
Original file line number Diff line number Diff line change
Expand Up @@ -153,14 +153,14 @@ def wms_request_compare(self, request, extra=None, reference_file=None):
expected = f.read()
f.close()
# Store the output for debug or to regenerate the reference documents:
#"""
"""
f = open(os.path.dirname(__file__) + '/expected.txt', 'w+')
f.write(expected)
f.close()
f = open(os.path.dirname(__file__) + '/response.txt', 'w+')
f.write(response)
f.close()
#"""
"""
response = re.sub(RE_STRIP_PATH, '', response)
expected = re.sub(RE_STRIP_PATH, '', expected)
self.assertEqual(response, expected, msg="request %s failed.\n Query: %s\n Expected:\n%s\n\n Response:\n%s" % (query_string, request, expected, response))
Expand Down

0 comments on commit 3df100f

Please sign in to comment.