From 97af27500d9e3cbc9ba534e6e3b28a23a30d0f3d Mon Sep 17 00:00:00 2001 From: Sagi Dayan Date: Mon, 15 Jun 2015 16:24:01 +0300 Subject: [PATCH] QA: Pormatting UserAPI_Test --- Testing/UserAPI_Test.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/Testing/UserAPI_Test.py b/Testing/UserAPI_Test.py index 67b9cf6..598ea85 100644 --- a/Testing/UserAPI_Test.py +++ b/Testing/UserAPI_Test.py @@ -20,13 +20,11 @@ class UserTestPlan(unittest.TestCase): r = requests.get(self.__class__.url_+'api/getUserByToken/invalidtoken') self.assertEquals(r.status_code, 403) - def test_getUserByToken_valid(self): r = requests.get(self.__class__.url_+'api/getUserByToken/'+__CONFIG__['TOKENS']['STUDENT']) self.assertEquals(r.status_code, 200) self.assertEquals(r.json()['username'], 'qa_student') - def test_getUserByToken_empty(self): r = requests.get(self.__class__.url_+'api/getUserByToken/') self.assertEquals(r.status_code, 400)