Skip to content
Permalink
Browse files

Removed debug code

  • Loading branch information
elpaso committed Feb 22, 2016
1 parent 82cee03 commit 3df100f9a0174ce46e0994f0f797e938b21fee1d
Showing with 2 additions and 2 deletions.
  1. +2 −2 tests/src/python/test_qgsserver.py
@@ -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))

0 comments on commit 3df100f

Please sign in to comment.
You can’t perform that action at this time.