removing cruft, renaming badly named things

This commit is contained in:
Philip Sargent
2021-04-30 21:32:53 +01:00
parent 8f1d6e2cc2
commit be0148d146
17 changed files with 17 additions and 237 deletions

View File

@@ -92,8 +92,8 @@ class PostTests(TestCase):
content = response.content.decode()
self.assertEqual(response.status_code, 200)
self.assertEqual(response.status_code, HTTPStatus.OK)
with open('test_up.html', 'w') as f:
f.write(content)
# with open('test_up.html', 'w') as f:
# f.write(content)
t = re.search(r'README.txt', content)
self.assertIsNone(t, 'Logged in as \'' + u.username + '\' (not staff) but failed to upload file' )