use real atat and workspace roles in tests

This commit is contained in:
dandds
2019-01-10 11:23:11 -05:00
parent 66ada94dcc
commit e2e4b5ae70
4 changed files with 16 additions and 18 deletions

View File

@@ -1,8 +1,6 @@
from tests.factories import RequestFactory, UserFactory
MOCK_USER = UserFactory.build()
MOCK_REQUEST = RequestFactory.build(creator=MOCK_USER)
DOD_SDN_INFO = {"first_name": "ART", "last_name": "GARFUNKEL", "dod_id": "5892460358"}
DOD_SDN = f"CN={DOD_SDN_INFO['last_name']}.{DOD_SDN_INFO['first_name']}.G.{DOD_SDN_INFO['dod_id']},OU=OTHER,OU=PKI,OU=DoD,O=U.S. Government,C=US"