use DOD_SDN from mocks

This commit is contained in:
dandds 2018-08-06 14:14:11 -04:00
parent 48dd606fe6
commit b89dd07fef

View File

@ -1,12 +1,7 @@
import pytest
import atst.domain.authnid.utils as utils
from tests.mocks import DOD_SDN
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"
def test_parse_sdn():
parsed = utils.parse_sdn(DOD_SDN)