2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2025-12-16 07:07:13 +00:00

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

@@ -90,8 +90,8 @@ class FixturePageTests(TestCase):
content = response.content.decode()
phmatch = re.search(ph, content)
with open('exped-op.html', 'w') as f:
f.write(content)
# with open('exped-op.html', 'w') as f:
# f.write(content)
self.assertIsNotNone(phmatch, "Failed to find expected text: '" + ph +"'")
@@ -103,8 +103,8 @@ class FixturePageTests(TestCase):
content = response.content.decode()
phmatch = re.search(ph, content)
with open('persexped-op.html', 'w') as f:
f.write(content)
# with open('persexped-op.html', 'w') as f:
# f.write(content)
self.assertIsNotNone(phmatch, "Failed to find expected text: '" + ph +"'")
def test_fix_person(self):
@@ -115,8 +115,8 @@ class FixturePageTests(TestCase):
content = response.content.decode()
phmatch = re.search(ph, content)
with open('person-op.html', 'w') as f:
f.write(content)
# with open('person-op.html', 'w') as f:
# f.write(content)
self.assertIsNotNone(phmatch, "Failed to find expected text: '" + ph +"'")
@@ -138,8 +138,8 @@ class FixturePageTests(TestCase):
content = response.content.decode()
phmatch = re.search(ph, content)
with open('cave-op.html', 'w') as f:
f.write(content)
# with open('cave-op.html', 'w') as f:
# f.write(content)
self.assertIsNotNone(phmatch, "Failed to find expected text: '" + ph +"'")
def test_fix_cave_bare_url115(self):