aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_pathod.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_pathod.py')
-rw-r--r--test/test_pathod.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test_pathod.py b/test/test_pathod.py
index 7bbb5545..195c7333 100644
--- a/test/test_pathod.py
+++ b/test/test_pathod.py
@@ -58,7 +58,7 @@ class TestNohang(tutils.DaemonTests):
r = self.get("200:p0,0")
assert r.status_code == 800
l = self.d.last_log()
- assert "Pauses have been disabled" in l["response"]["error"]
+ assert "Pauses have been disabled" in l["msg"]
class TestHexdump(tutils.DaemonTests):
@@ -77,7 +77,7 @@ class CommonTests(tutils.DaemonTests):
r = self.get("200:b@1g")
assert r.status_code == 800
l = self.d.last_log()
- assert "too large" in l["response"]["error"]
+ assert "too large" in l["msg"]
def test_preline(self):
v = self.pathoc(r"get:'/p/200':i0,'\r\n'")