home
·
contact
·
privacy
projects
/
plomtask
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Split BaseModel.by_id into .by_id and by_id_or_create, refactor tests.
[plomtask]
/
tests
/
misc.py
diff --git
a/tests/misc.py
b/tests/misc.py
index b0fb872bbdc2f34b65f2c3f843762c451c34baa0..a27f0d0a1f8c0a3330be0e6c6906e3a7d6d53fd2 100644
(file)
--- a/
tests/misc.py
+++ b/
tests/misc.py
@@
-151,7
+151,7
@@
class TestsWithServer(TestCaseWithServer):
"""Tests against our HTTP server/handler (and database)."""
def test_do_GET(self) -> None:
"""Tests against our HTTP server/handler (and database)."""
def test_do_GET(self) -> None:
- """Test / redirect, and unknown targets failing."""
+ """Test
GET
/ redirect, and unknown targets failing."""
self.conn.request('GET', '/')
self.check_redirect('/day')
self.check_get('/foo', 404)
self.conn.request('GET', '/')
self.check_redirect('/day')
self.check_get('/foo', 404)