From 6a51d858353d1a1db315f060201c90edd61adf00 Mon Sep 17 00:00:00 2001 From: Rongqi Sun Date: Wed, 12 Jun 2024 02:48:59 +0000 Subject: [PATCH] test/ smb: modify source_type to fix run-tox-mgr failed source_type should be resource fixes: https://tracker.ceph.com/issues/66437 Signed-off-by: Rongqi Sun --- src/pybind/mgr/smb/tests/test_smb.py | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/src/pybind/mgr/smb/tests/test_smb.py b/src/pybind/mgr/smb/tests/test_smb.py index 03648750360de..7091f9e76423d 100644 --- a/src/pybind/mgr/smb/tests/test_smb.py +++ b/src/pybind/mgr/smb/tests/test_smb.py @@ -619,11 +619,8 @@ def test_cmd_show_resource_json(tmodule): "realm": "dom1.example.com", "join_sources": [ { - "source_type": "password", - "auth": { - "username": "testadmin", - "password": "Passw0rd" - } + "source_type": "resource", + "ref": "foo" } ] } @@ -649,9 +646,7 @@ intent: present domain_settings: realm: dom1.example.com join_sources: - - source_type: password - auth: - username: testadmin - password: Passw0rd + - source_type: resource + ref: foo """.strip() ) -- 2.47.3