]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr/smb: fix unit test assertion
authorJohn Mulligan <jmulligan@redhat.com>
Mon, 22 Sep 2025 15:15:37 +0000 (11:15 -0400)
committerJohn Mulligan <jmulligan@redhat.com>
Wed, 25 Mar 2026 14:22:46 +0000 (10:22 -0400)
The unit test was looking for the wrong string (but the right
condition). This fixes the string to check.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
src/pybind/mgr/smb/tests/test_smb.py

index 25dad1e6e96103cc561258ceb32154b327b9f1b4..3606ffdf99fe958bccef881075b7e415d8ff64ac 100644 (file)
@@ -1131,7 +1131,7 @@ def test_keybridge_config(tmodule):
         dict(scopes=[{'name': 'kmip'}], expected='kmip hostname'),
         dict(
             scopes=[{'name': 'kmip', 'kmip_hosts': ['foo.example.org']}],
-            expected='kmip server port',
+            expected='kmip default port',
         ),
         dict(
             scopes=[