summaryrefslogtreecommitdiffstats
path: root/test/test-transport_id.py
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2023-08-06 07:51:39 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2023-08-06 07:51:39 +0000
commit593ffd6b9dc008e81ed95579a0f56c49bf3e782f (patch)
treeb3a10caf7583dc08b7beed1a329f3b65a1dffe33 /test/test-transport_id.py
parentAdding upstream version 2.3~rc2. (diff)
downloadnvme-stas-593ffd6b9dc008e81ed95579a0f56c49bf3e782f.tar.xz
nvme-stas-593ffd6b9dc008e81ed95579a0f56c49bf3e782f.zip
Adding upstream version 2.3~rc3.upstream/2.3_rc3
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'test/test-transport_id.py')
-rwxr-xr-xtest/test-transport_id.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/test-transport_id.py b/test/test-transport_id.py
index 36953dd..d0386ec 100755
--- a/test/test-transport_id.py
+++ b/test/test-transport_id.py
@@ -13,6 +13,7 @@ class Test(unittest.TestCase):
TRSVCID = '8009'
HOST_TRADDR = '1.2.3.4'
HOST_IFACE = 'wlp0s20f3'
+ HOST_NQN = 'nqn.1988-11.com.dell:12345'
def __init__(self, *args, **kwargs):
super().__init__(*args, **kwargs)
@@ -23,6 +24,7 @@ class Test(unittest.TestCase):
'trsvcid': Test.TRSVCID,
'host-traddr': Test.HOST_TRADDR,
'host-iface': Test.HOST_IFACE,
+ 'host-nqn': Test.HOST_NQN,
}
self.other_cid = {
'transport': Test.TRANSPORT,
@@ -31,6 +33,7 @@ class Test(unittest.TestCase):
'trsvcid': Test.TRSVCID,
'host-traddr': Test.HOST_TRADDR,
'host-iface': Test.HOST_IFACE,
+ 'host-nqn': Test.HOST_NQN,
}
self.tid = trid.TID(self.cid)