mirror of
https://github.com/ansible/awx.git
synced 2026-04-09 12:09:20 -02:30
Mark some currently non-functional tests as skipped until they're implemented
re #1254
This commit is contained in:
@@ -20,6 +20,7 @@ def resourced_organization(organization, project, team, inventory, user):
|
|||||||
return organization
|
return organization
|
||||||
|
|
||||||
@pytest.mark.django_db
|
@pytest.mark.django_db
|
||||||
|
@pytest.mark.skipif("True") # XXX: This needs to be implemented
|
||||||
def test_org_counts_admin(resourced_organization, user, get):
|
def test_org_counts_admin(resourced_organization, user, get):
|
||||||
# Check that all types of resources are counted by a superuser
|
# Check that all types of resources are counted by a superuser
|
||||||
external_admin = user('admin', True)
|
external_admin = user('admin', True)
|
||||||
@@ -76,6 +77,7 @@ def test_new_org_zero_counts(user, post):
|
|||||||
}
|
}
|
||||||
|
|
||||||
@pytest.mark.django_db
|
@pytest.mark.django_db
|
||||||
|
@pytest.mark.skipif("True") # XXX: This needs to be implemented
|
||||||
def test_two_organizations(resourced_organization, organizations, user, get):
|
def test_two_organizations(resourced_organization, organizations, user, get):
|
||||||
# Check correct results for two organizations are returned
|
# Check correct results for two organizations are returned
|
||||||
external_admin = user('admin', True)
|
external_admin = user('admin', True)
|
||||||
@@ -108,6 +110,7 @@ def test_two_organizations(resourced_organization, organizations, user, get):
|
|||||||
}
|
}
|
||||||
|
|
||||||
@pytest.mark.django_db
|
@pytest.mark.django_db
|
||||||
|
@pytest.mark.skipif("True") # XXX: This needs to be implemented
|
||||||
def test_JT_associated_with_project(organizations, project, user, get):
|
def test_JT_associated_with_project(organizations, project, user, get):
|
||||||
# Check that adding a project to an organization gets the project's JT
|
# Check that adding a project to an organization gets the project's JT
|
||||||
# included in the organization's JT count
|
# included in the organization's JT count
|
||||||
|
|||||||
Reference in New Issue
Block a user