aboutsummaryrefslogtreecommitdiff
path: root/test/py/test_negotiate.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/py/test_negotiate.py')
-rw-r--r--test/py/test_negotiate.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/py/test_negotiate.py b/test/py/test_negotiate.py
index 348bf68..b018840 100644
--- a/test/py/test_negotiate.py
+++ b/test/py/test_negotiate.py
@@ -186,7 +186,7 @@ def test_valid_negotiate_empty_json():
client_version_json(json=b'{}')
# notice client closed connection
- vfu_run_ctx(ctx)
+ vfu_run_ctx(ctx, expect=errno.ENOTCONN)
def test_valid_negotiate_json():
@@ -196,7 +196,7 @@ def test_valid_negotiate_json():
"utf-8"))
# notice client closed connection
- vfu_run_ctx(ctx)
+ vfu_run_ctx(ctx, expect=errno.ENOTCONN)
def test_destroying():