diff options
Diffstat (limited to 'test/test_pathod.py')
-rw-r--r-- | test/test_pathod.py | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/test_pathod.py b/test/test_pathod.py index 2adcae40..f27f4d38 100644 --- a/test/test_pathod.py +++ b/test/test_pathod.py @@ -109,6 +109,15 @@ class TestHexdump(tutils.DaemonTests): r = self.get(r"200:b'\xf0'") +class TestNocraft(tutils.DaemonTests): + nocraft = True + + def test_nocraft(self): + r = self.get(r"200:b'\xf0'") + assert r.status_code == 800 + assert "Crafting disabled" in r.content + + class CommonTests(tutils.DaemonTests): def test_binarydata(self): r = self.get(r"200:b'\xf0'") |