From b66d4e52bde97e0c83be9c8b6edefab5b29be246 Mon Sep 17 00:00:00 2001 From: etyemyer Date: Mon, 3 Aug 2015 23:50:34 +0300 Subject: [PATCH] Updated User Tests --- Testing/UserAPI_Test.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Testing/UserAPI_Test.py b/Testing/UserAPI_Test.py index 251ec99..a852729 100644 --- a/Testing/UserAPI_Test.py +++ b/Testing/UserAPI_Test.py @@ -331,8 +331,8 @@ class UserTestPlan(unittest.TestCase): print("***********************************************") print(self._testMethodName+"Has begun") print("***********************************************") - #url=self.__class__.url_+'api/users/getUsersByCampus/'+__CONFIG__['TOKENS']['STUDENT']+'/6736157987569664'#campus id - url='http://localhost:8080/api/users/getUsersByCampus/_QA_TOKEN_TEST_STUDENT/6736157987569664' + url=self.__class__.url_+'api/users/getUsersByCampus/'+__CONFIG__['TOKENS']['STUDENT']+'/6736157987569664'#campus id + #url='http://localhost:8080/api/users/getUsersByCampus/_QA_TOKEN_TEST_STUDENT/6736157987569664' r = requests.get(url) self.assertEquals(r.status_code, 200) print("***********************************************") @@ -344,8 +344,8 @@ class UserTestPlan(unittest.TestCase): print("***********************************************") print(self._testMethodName+"Has begun") print("***********************************************") - #url=self.__class__.url_+'api/users/getUsersByCampus/'+__CONFIG__['TOKENS']['LECTURER']+'/6736157987569664'#campus id - url = 'http://localhost:8080/api/users/getUsersByCampus/_QA_TOKEN_TEST_STUDENT/6736157987569664' + url=self.__class__.url_+'api/users/getUsersByCampus/'+__CONFIG__['TOKENS']['LECTURER']+'/6736157987569664'#campus id + #url = 'http://localhost:8080/api/users/getUsersByCampus/_QA_TOKEN_TEST_STUDENT/6736157987569664' r = requests.get(url) self.assertEquals(r.status_code, 200) print("***********************************************")