Skip to content

Commit 3df100f

Browse files
committed
Removed debug code
1 parent 82cee03 commit 3df100f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/src/python/test_qgsserver.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -153,14 +153,14 @@ def wms_request_compare(self, request, extra=None, reference_file=None):
153153
expected = f.read()
154154
f.close()
155155
# Store the output for debug or to regenerate the reference documents:
156-
#"""
156+
"""
157157
f = open(os.path.dirname(__file__) + '/expected.txt', 'w+')
158158
f.write(expected)
159159
f.close()
160160
f = open(os.path.dirname(__file__) + '/response.txt', 'w+')
161161
f.write(response)
162162
f.close()
163-
#"""
163+
"""
164164
response = re.sub(RE_STRIP_PATH, '', response)
165165
expected = re.sub(RE_STRIP_PATH, '', expected)
166166
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 commit comments

Comments
 (0)