Skip to content

Commit 1b26215

Browse files
committed
Merge PR ceph#57979 into main
* refs/pull/57979/head: test/ smb: modify source_type to fix run-tox-mgr failed Reviewed-by: Ilya Dryomov <[email protected]> Reviewed-by: Adam King <[email protected]>
2 parents f136742 + 6a51d85 commit 1b26215

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
@@ -618,11 +618,8 @@ def test_cmd_show_resource_json(tmodule):
618618
"realm": "dom1.example.com",
619619
"join_sources": [
620620
{
621-
"source_type": "password",
622-
"auth": {
623-
"username": "testadmin",
624-
"password": "Passw0rd"
625-
}
621+
"source_type": "resource",
622+
"ref": "foo"
626623
}
627624
]
628625
}
@@ -648,9 +645,7 @@ def test_cmd_show_resource_yaml(tmodule):
648645
domain_settings:
649646
realm: dom1.example.com
650647
join_sources:
651-
- source_type: password
652-
auth:
653-
username: testadmin
654-
password: Passw0rd
648+
- source_type: resource
649+
ref: foo
655650
""".strip()
656651
)

0 commit comments

Comments
 (0)