diff options
Diffstat (limited to 'core/TESTS/tests_caves.py')
-rw-r--r-- | core/TESTS/tests_caves.py | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/core/TESTS/tests_caves.py b/core/TESTS/tests_caves.py index 841691c..0ff0f12 100644 --- a/core/TESTS/tests_caves.py +++ b/core/TESTS/tests_caves.py @@ -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): |