예제 #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))