]> www.infradead.org Git - users/sagi/libnvme.git/commitdiff
python: Update test data
authorDaniel Wagner <dwagner@suse.de>
Mon, 17 Apr 2023 08:25:55 +0000 (10:25 +0200)
committerDaniel Wagner <wagi@monom.org>
Mon, 17 Apr 2023 08:29:41 +0000 (10:29 +0200)
Since commit 1617d1a3f42a ("nbft: Parse the {HOSTID,HOSTNQN}_CONFIGURED
flags") host_id_configured and host_nqn_configured are parsed. Thus we
need to update the test case accordingly.

Signed-off-by: Daniel Wagner <dwagner@suse.de>
libnvme/tests/test-nbft.py

index b4dcdda7ef521d0e9ec6f581997eeb0d71ebf344..bba7a123995025139dde136b5330e7500f8131a8 100755 (executable)
@@ -37,8 +37,8 @@ class Testclass(unittest.TestCase):
                 }
             ],
             "host": {
-                "host_id_configured": False,
-                "host_nqn_configured": False,
+                "host_id_configured": True,
+                "host_nqn_configured": True,
                 "id": "44454c4c-3400-1036-8038-b2c04f313233",
                 "nqn": "nqn.1988-11.com.dell:PowerEdge.R760.1234567",
                 "primary_admin_host_flag": "not indicated",