more tests

This commit is contained in:
2023-04-06 00:51:04 +01:00
parent dcfff1ede7
commit f15555a3bd
5 changed files with 310 additions and 20 deletions

View File

@@ -151,8 +151,8 @@ class PostTests(TestCase):
)
content = response.content.decode()
self.assertEqual(response.status_code, HTTPStatus.OK)
with open("_test_response.html", "w") as f:
f.write(content)
# with open("_test_response.html", "w") as f:
# f.write(content)
for ph in [
r"test_upload_",
rf"← {testyear}#00 →",