diff options
author | John Levon <john.levon@nutanix.com> | 2021-05-15 00:20:16 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-15 00:20:16 +0100 |
commit | 8aeb1195af036961b4c9b0dcbcc69024042f8624 (patch) | |
tree | 369a47cdfd7b59f949c816fc6f0590e7ff99a53c /test/py/test_negotiate.py | |
parent | 95f16fceadba22a7730c2a9c94cfd4028ef04a02 (diff) | |
download | libvfio-user-8aeb1195af036961b4c9b0dcbcc69024042f8624.zip libvfio-user-8aeb1195af036961b4c9b0dcbcc69024042f8624.tar.gz libvfio-user-8aeb1195af036961b4c9b0dcbcc69024042f8624.tar.bz2 |
move PCI capability testing to Python (#453)
This also adds a couple of additional tests (as well as more fully testing the
region access path).
Signed-off-by: John Levon <john.levon@nutanix.com>
Reviewed-by: Swapnil Ingle <swapnil.ingle@nutanix.com>
Diffstat (limited to 'test/py/test_negotiate.py')
-rw-r--r-- | test/py/test_negotiate.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/test/py/test_negotiate.py b/test/py/test_negotiate.py index 09edf99..e05b450 100644 --- a/test/py/test_negotiate.py +++ b/test/py/test_negotiate.py @@ -155,10 +155,7 @@ def test_valid_negotiate_no_json(): assert json.capabilities.max_msg_size == SERVER_MAX_MSG_SIZE # FIXME: migration object checks - sock.close() - - # notice client closed connection - vfu_run_ctx(ctx) + disconnect_client(ctx, sock) def test_valid_negotiate_empty_json(): client_version_json(json=b'{}') |