mirror of
https://github.com/ansible/awx.git
synced 2026-05-06 08:57:35 -02:30
remove db access from unit test
This commit is contained in:
@@ -236,7 +236,6 @@ class TestWorkflowAccessMethods:
|
|||||||
assert access.can_add({'organization': 1})
|
assert access.can_add({'organization': 1})
|
||||||
|
|
||||||
|
|
||||||
@pytest.mark.django_db
|
|
||||||
def test_user_capabilities_method():
|
def test_user_capabilities_method():
|
||||||
"""Unit test to verify that the user_capabilities method will defer
|
"""Unit test to verify that the user_capabilities method will defer
|
||||||
to the appropriate sub-class methods of the access classes.
|
to the appropriate sub-class methods of the access classes.
|
||||||
|
|||||||
Reference in New Issue
Block a user