mirror of
https://github.com/ZwareBear/awx.git
synced 2026-05-13 07:48:39 -05:00
clean up access to various CredentialInputSource fields (#3336)
This commit is contained in:
committed by
Jake McDermott
parent
018ff91620
commit
011d7eb892
@@ -146,5 +146,5 @@ def mock_external_credential_input_sources():
|
||||
# Credential objects query their related input sources on initialization.
|
||||
# We mock that behavior out of credentials by default unless we need to
|
||||
# test it explicitly.
|
||||
with mock.patch.object(Credential, '_get_dynamic_input_field_names', new=lambda _: []) as _fixture:
|
||||
with mock.patch.object(Credential, 'dynamic_input_fields', new=[]) as _fixture:
|
||||
yield _fixture
|
||||
|
||||
Reference in New Issue
Block a user