From: Rongqi Sun Date: Wed, 12 Jun 2024 02:48:59 +0000 (+0000) Subject: test/ smb: modify source_type to fix run-tox-mgr failed X-Git-Tag: v20.0.0~1759^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F57979%2Fhead;p=ceph.git 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 --- 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() )