Commit 9dbe2565 authored by Kyle Cochrane's avatar Kyle Cochrane
Browse files

data cleanup

parent e9fadf82
......@@ -29,8 +29,8 @@ logger = logging.getLogger(__name__)
class IamGroupSearchTests(unittest.TestCase):
client_id = "e06fb405-c58e-4334-b746-dd5969575bf2"
secret = "G5oT3vL1uK8xS7rO5sJ4nH7bK5iB6hN5jN5dI0nL8tO5bG4tT5"
client_id = "some-guid-goes-here"
secret = "secret-string-goes-here"
scope = "iamgroups"
token_url = "https://apigw-tst.it.umich.edu/um/inst/oauth2/token"
url_base = "https://apigw-tst.it.umich.edu/um/iamGroups"
......@@ -79,7 +79,7 @@ class IamGroupSearchTests(unittest.TestCase):
def test_search_mygroups_for_member(self):
api = ApiDirectory(self.client_id, self.secret, self.scope, self.token_url)
url_endpoint = 'searchForItem'
name = "uid=jbouffor,ou=people,dc=umich,dc=edu"
name = "uid=bjensen,ou=people,dc=umich,dc=edu"
# name = "cn=group name,ou=user groups,ou=groups,dc=umich,dc=edu"
# name = "someone@yahoo.com"
encoded = urllib.parse.quote(name)
......@@ -100,7 +100,7 @@ class IamGroupSearchTests(unittest.TestCase):
def test_find_person_by_uniqname(self):
api = ApiDirectory(self.client_id, self.secret, self.scope, self.token_url)
url_endpoint = 'find/person'
uniqname = "jbouffor"
uniqname = "bjensen"
# Since uniqname are alpha numeric without spaces this is not really needed.
encoded = urllib.parse.quote(uniqname)
url = IamGroupSearchTests.url_base + '/' + url_endpoint + '/' + encoded
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment