def test_title_pass(self): response = {'title': 'Trailer'} self.assertTrue(Validate.title(response))
def test_title_fail(self): response = {'title': 'Deutsch Trailer'} self.assertFalse(Validate.title(response))