Skip to content
This repository has been archived by the owner on Feb 14, 2025. It is now read-only.

Commit

Permalink
fix create test 3
Browse files Browse the repository at this point in the history
  • Loading branch information
alejandroroiz committed Apr 4, 2024
1 parent cb3dd9c commit 869a371
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/unit/confidant/routes/credentials_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -458,6 +458,10 @@ def test_create_credential(mocker: MockerFixture, credential: Credential):
'._get_decrypted_credential_pairs'),
return_value={'test': 'me'},
)
mocker.patch(
'confidant.services.credentialmanager.is_key_value_pair_duplicate',
return_value=(False, None),
)
mocker.patch(
'confidant.routes.credentials.CipherManager.encrypt',
return_value={'foo': 'baz'}
Expand Down

0 comments on commit 869a371

Please sign in to comment.