@@ -403,10 +403,25 @@ def test_deleteTestPlan_unknownID(self):
403403 with self .assertRaisesRegex (TLResponseError , '3000.*40000711' ):
404404 self .client .deleteTestPlan (40000711 )
405405
406- def test_getTestCaseKeywords_unknownID (self ):
406+ # test might fail during Travis test, cause used TestLink demo application
407+ # represents still a 1.9.13 dev state from 26/12/14
408+ # the keyword add method are added later and will be changed with 1.9.14
409+ # the interface (see TL Mantis Task 6934)
410+ @unittest .expectedFailure
411+ def test_addTestCaseKeywords_unknownID (self ):
407412 with self .assertRaisesRegex (TLResponseError , '5040.*TC-40000712' ):
408413 self .client .addTestCaseKeywords ('TC-40000712' ,
409414 ['KeyWord01' , 'KeyWord03' ])
415+
416+ # test might fail during Travis test, cause used TestLink demo application
417+ # represents still a 1.9.13 dev state from 26/12/14
418+ # the keyword remove method are added later and will be changed with 1.9.14
419+ # the interface (see TL Mantis Task 6907)
420+ @unittest .expectedFailure
421+ def test_removeTestCaseKeywords_unknownID (self ):
422+ with self .assertRaisesRegex (TLResponseError , '5040.*TC-40000712' ):
423+ self .client .removeTestCaseKeywords ('TC-40000712' ,
424+ ['KeyWord01' ])
410425
411426if __name__ == "__main__" :
412427 #import sys;sys.argv = ['', 'Test.testName']
0 commit comments