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: testing/wip-pdonnell-testing-20240613.014923-debug~16^2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=6a51d858353d1a1db315f060201c90edd61adf00;p=ceph-ci.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 03648750360..7091f9e7642 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() )