def test_contains_nonempty_text_with_valid_text(self): choice = Choice(choice_text = 'San Francisco 49ers') self.assertTrue(choice.contains_nonempty_text())
def test_contains_nonempty_text_with_empty_text(self): choice = Choice(choice_text = '') self.assertFalse(choice.contains_nonempty_text())