Updated User Tests
This commit is contained in:
parent
14ffc65f17
commit
b66d4e52bd
1 changed files with 4 additions and 4 deletions
|
@ -331,8 +331,8 @@ class UserTestPlan(unittest.TestCase):
|
||||||
print("***********************************************")
|
print("***********************************************")
|
||||||
print(self._testMethodName+"Has begun")
|
print(self._testMethodName+"Has begun")
|
||||||
print("***********************************************")
|
print("***********************************************")
|
||||||
#url=self.__class__.url_+'api/users/getUsersByCampus/'+__CONFIG__['TOKENS']['STUDENT']+'/6736157987569664'#campus id
|
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='http://localhost:8080/api/users/getUsersByCampus/_QA_TOKEN_TEST_STUDENT/6736157987569664'
|
||||||
r = requests.get(url)
|
r = requests.get(url)
|
||||||
self.assertEquals(r.status_code, 200)
|
self.assertEquals(r.status_code, 200)
|
||||||
print("***********************************************")
|
print("***********************************************")
|
||||||
|
@ -344,8 +344,8 @@ class UserTestPlan(unittest.TestCase):
|
||||||
print("***********************************************")
|
print("***********************************************")
|
||||||
print(self._testMethodName+"Has begun")
|
print(self._testMethodName+"Has begun")
|
||||||
print("***********************************************")
|
print("***********************************************")
|
||||||
#url=self.__class__.url_+'api/users/getUsersByCampus/'+__CONFIG__['TOKENS']['LECTURER']+'/6736157987569664'#campus id
|
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 = 'http://localhost:8080/api/users/getUsersByCampus/_QA_TOKEN_TEST_STUDENT/6736157987569664'
|
||||||
r = requests.get(url)
|
r = requests.get(url)
|
||||||
self.assertEquals(r.status_code, 200)
|
self.assertEquals(r.status_code, 200)
|
||||||
print("***********************************************")
|
print("***********************************************")
|
||||||
|
|
Loading…
Reference in a new issue