From 1a4be0f02e8ca2536bb754c7285c005478ad047a Mon Sep 17 00:00:00 2001 From: Philip Sargent Date: Fri, 23 Apr 2021 03:05:22 +0100 Subject: stop file logging from tests --- core/TESTS/tests.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'core/TESTS/tests.py') diff --git a/core/TESTS/tests.py b/core/TESTS/tests.py index d8143b5..1cf9f60 100644 --- a/core/TESTS/tests.py +++ b/core/TESTS/tests.py @@ -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 +"'") -- cgit v1.2.3