mirror of
https://github.com/ansible/awx.git
synced 2026-05-20 23:37:39 -02:30
Optional tower cli (#3)
* Allow running tests without tower_cli * patch up test mutability * Fix test import error, warning mock * flake8 error Update documentation for non-converted modules
This commit is contained in:
@@ -30,8 +30,6 @@ def test_create_organization(run_module, admin_user):
|
||||
assert result == {
|
||||
"name": "foo",
|
||||
"changed": True,
|
||||
"state": "present",
|
||||
"credential_type": "Nexus",
|
||||
"id": org.id,
|
||||
"invocation": {
|
||||
"module_args": module_args
|
||||
@@ -55,8 +53,6 @@ def test_create_organization_with_venv(run_module, admin_user, mocker):
|
||||
org = Organization.objects.get(name='foo')
|
||||
result.pop('invocation')
|
||||
assert result == {
|
||||
"credential_type": "Nexus",
|
||||
"state": "present",
|
||||
"name": "foo",
|
||||
"id": org.id
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user