mirror of
https://github.com/ansible/awx.git
synced 2026-05-20 23:37:39 -02:30
Fix pylint errors
This commit is contained in:
@@ -72,6 +72,7 @@ EXAMPLES = '''
|
|||||||
|
|
||||||
from ..module_utils.tower_api import TowerModule
|
from ..module_utils.tower_api import TowerModule
|
||||||
|
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
# Any additional arguments that are not fields of the item can be added here
|
# Any additional arguments that are not fields of the item can be added here
|
||||||
argument_spec = dict(
|
argument_spec = dict(
|
||||||
|
|||||||
@@ -5,6 +5,7 @@ import pytest
|
|||||||
|
|
||||||
from awx.main.models import CredentialInputSource, Credential, CredentialType, Organization
|
from awx.main.models import CredentialInputSource, Credential, CredentialType, Organization
|
||||||
|
|
||||||
|
|
||||||
@pytest.fixture
|
@pytest.fixture
|
||||||
def aim_cred_type():
|
def aim_cred_type():
|
||||||
ct = CredentialType.defaults['aim']()
|
ct = CredentialType.defaults['aim']()
|
||||||
@@ -279,6 +280,7 @@ def source_cred_aim_alt(aim_cred_type):
|
|||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
@pytest.mark.django_db
|
@pytest.mark.django_db
|
||||||
def test_aim_credential_source(run_module, admin_user, organization, source_cred_aim, source_cred_aim_alt, silence_deprecation):
|
def test_aim_credential_source(run_module, admin_user, organization, source_cred_aim, source_cred_aim_alt, silence_deprecation):
|
||||||
ct = CredentialType.defaults['ssh']()
|
ct = CredentialType.defaults['ssh']()
|
||||||
|
|||||||
Reference in New Issue
Block a user