From bd541b59c4a0298d865ba666cd16d5a1aede4473 Mon Sep 17 00:00:00 2001 From: Sagi Dayan Date: Tue, 16 Jun 2015 09:37:25 +0300 Subject: [PATCH] QA: Fixed a small test in UserAPI --- Testing/UserAPI_Test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Testing/UserAPI_Test.py b/Testing/UserAPI_Test.py index 7baa8cb..1af62c3 100644 --- a/Testing/UserAPI_Test.py +++ b/Testing/UserAPI_Test.py @@ -67,7 +67,7 @@ class UserTestPlan(unittest.TestCase): def test_Lecturer_isLecturer(self): r = requests.get(self.__class__.url_+'api/users/getUserByToken/'+__CONFIG__['TOKENS']['LECTURER']) self.assertEquals(r.status_code, 200) - self.assertFalse(r.json()['isLecturer']) + self.assertTrue(r.json()['isLecturer']) def test_isClassIdListEmpty_Lecturer(self): r = requests.get(self.__class__.url_+'api/users/getUserByToken/'+__CONFIG__['TOKENS']['LECTURER'])