Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Sep 10, 2024
1 parent 37b5e63 commit 08eebc4
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion tests/credential_plugins_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,11 +139,17 @@ class TestDelineaImports:

def test_dsv_import(self) -> None:
from awx_plugins.credentials.dsv import SecretsVault # noqa F401

# assert this module as opposed to older thycotic.secrets.vault
assert SecretsVault.__module__ == 'delinea.secrets.vault'

def test_tss_import(self) -> None:
from awx_plugins.credentials.tss import DomainPasswordGrantAuthorizer, PasswordGrantAuthorizer, SecretServer, ServerSecret # noqa F401
from awx_plugins.credentials.tss import ( # noqa F401
DomainPasswordGrantAuthorizer,
PasswordGrantAuthorizer,
SecretServer,
ServerSecret,
)

for cls in (
DomainPasswordGrantAuthorizer,
Expand Down

0 comments on commit 08eebc4

Please sign in to comment.