Skip to content

Commit 6a51d85

Browse files
committed
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 <[email protected]>
1 parent 09e8131 commit 6a51d85

File tree

1 file changed

+4
-9
lines changed

1 file changed

+4
-9
lines changed

src/pybind/mgr/smb/tests/test_smb.py

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -619,11 +619,8 @@ def test_cmd_show_resource_json(tmodule):
619619
"realm": "dom1.example.com",
620620
"join_sources": [
621621
{
622-
"source_type": "password",
623-
"auth": {
624-
"username": "testadmin",
625-
"password": "Passw0rd"
626-
}
622+
"source_type": "resource",
623+
"ref": "foo"
627624
}
628625
]
629626
}
@@ -649,9 +646,7 @@ def test_cmd_show_resource_yaml(tmodule):
649646
domain_settings:
650647
realm: dom1.example.com
651648
join_sources:
652-
- source_type: password
653-
auth:
654-
username: testadmin
655-
password: Passw0rd
649+
- source_type: resource
650+
ref: foo
656651
""".strip()
657652
)

0 commit comments

Comments
 (0)