aboutsummaryrefslogtreecommitdiff
path: root/test/py/test_device_get_info.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/py/test_device_get_info.py')
-rw-r--r--test/py/test_device_get_info.py8
1 files changed, 6 insertions, 2 deletions
diff --git a/test/py/test_device_get_info.py b/test/py/test_device_get_info.py
index c41d382..ae44555 100644
--- a/test/py/test_device_get_info.py
+++ b/test/py/test_device_get_info.py
@@ -53,14 +53,16 @@ def test_device_get_info():
payload = struct.pack("II", 0, 0)
- msg(ctx, sock, VFIO_USER_DEVICE_GET_INFO, payload, expect=errno.EINVAL)
+ msg(ctx, sock, VFIO_USER_DEVICE_GET_INFO, payload,
+ expect_reply_errno=errno.EINVAL)
# bad argsz
payload = vfio_user_device_info(argsz=8, flags=0,
num_regions=0, num_irqs=0)
- msg(ctx, sock, VFIO_USER_DEVICE_GET_INFO, payload, expect=errno.EINVAL)
+ msg(ctx, sock, VFIO_USER_DEVICE_GET_INFO, payload,
+ expect_reply_errno=errno.EINVAL)
# valid with larger argsz
@@ -79,3 +81,5 @@ def test_device_get_info():
disconnect_client(ctx, sock)
vfu_destroy_ctx(ctx)
+
+# ex: set tabstop=4 shiftwidth=4 softtabstop=4 expandtab: #