stop file logging from tests

This commit is contained in:
Philip Sargent
2021-04-23 03:05:22 +01:00
parent 8f89b022c7
commit 1a4be0f02e
3 changed files with 12 additions and 12 deletions

View File

@@ -170,8 +170,8 @@ class PageTests(TestCase):
ph = r'All Survey scans folders '
content = response.content.decode()
phmatch = re.search(ph, content)
with open('ss-op.html', 'w') as f:
f.write(content)
# with open('ss-op.html', 'w') as f:
# f.write(content)
self.assertIsNotNone(phmatch, "Failed to find expected text: '" + ph +"'")