Merge pull request #3909 from AlanCoding/un_db_ify

Remove db access from unit test
This commit is contained in:
Alan Rominger 2016-11-08 10:21:11 -05:00 committed by GitHub
commit 549274f97b

View File

@ -236,7 +236,6 @@ class TestWorkflowAccessMethods:
assert access.can_add({'organization': 1})
@pytest.mark.django_db
def test_user_capabilities_method():
"""Unit test to verify that the user_capabilities method will defer
to the appropriate sub-class methods of the access classes.