UserApi_Test - test getuserbytoken with valid,invalid and empty string
CampusesApi_test - with valid,invalid string
This commit is contained in:
parent
aaa5ba223a
commit
315e07aad2
1 changed files with 2 additions and 2 deletions
|
@ -18,7 +18,7 @@ class UserTestPlan(unittest.TestCase):
|
||||||
|
|
||||||
def test_getUserByToken_invalid(self):
|
def test_getUserByToken_invalid(self):
|
||||||
r = requests.get(self.__class__.url_+'api/getUserByToken/invalidtoken')
|
r = requests.get(self.__class__.url_+'api/getUserByToken/invalidtoken')
|
||||||
self.assertEquals(r.status_code, 403)
|
self.assertEquals(r.status_code, 204)
|
||||||
|
|
||||||
|
|
||||||
def test_getUserByToken_valid(self):
|
def test_getUserByToken_valid(self):
|
||||||
|
|
Loading…
Reference in a new issue