示例#1
0
 def test_title_pass(self):
     response = {'title': 'Trailer'}
     self.assertTrue(Validate.title(response))
示例#2
0
 def test_title_fail(self):
     response = {'title': 'Deutsch Trailer'}
     self.assertFalse(Validate.title(response))