mirror of
https://github.com/ansible/awx.git
synced 2026-05-07 01:17:37 -02:30
Merge pull request #3909 from AlanCoding/un_db_ify
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