Beispiel #1
0
 def test_noneName(self):
     req_none = testcase_models.TestcaseCreateRequest(None)
     return req_none
Beispiel #2
0
 def test_noneName(self):
     req_none = testcase_models.TestcaseCreateRequest(None)
     (code, body) = self.create(req_none, self.project)
     self.assertEqual(code, httplib.BAD_REQUEST)
     self.assertIn(message.missing('name'), body)
Beispiel #3
0
 def test_emptyName(self):
     req_empty = testcase_models.TestcaseCreateRequest('')
     return req_empty