Ejemplo n.º 1
0
	def test_contains_nonempty_text_with_valid_text(self):
		question = Question(question = 'Who will win the 2016 Presidential election?')
		self.assertTrue(question.contains_nonempty_text())
Ejemplo n.º 2
0
	def test_contains_nonempty_text_with_empty_text(self):
		question = Question(question = '')
		self.assertFalse(question.contains_nonempty_text())