diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/test_app.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/test_app.py b/test/test_app.py index 721b36d7..8f9738db 100644 --- a/test/test_app.py +++ b/test/test_app.py @@ -27,6 +27,11 @@ class uApplication(libpry.AutoTree): assert a.log[0]["id"] == 3 assert a.log[-1]["id"] == 1 + assert a.log_by_id(1)["id"] == 1 + assert not a.log_by_id(0) + + + class uPages(libpry.AutoTree): def dummy_page(self, path): # A hideous, hideous kludge, but Tornado seems to have no more sensible |