mirror of
https://expo.survex.com/repositories/troggle/.git
synced 2025-12-14 13:57:45 +00:00
removing cruft, renaming badly named things
This commit is contained in:
@@ -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' )
|
||||
|
||||
|
||||
Reference in New Issue
Block a user