Exemplo n.º 1
0
 def test_alphabetic_message_is_text(self):
     self.assertTrue(is_text("hello"))
Exemplo n.º 2
0
 def test_is_not_text_if_just_numbered_list(self):
     self.assertFalse(is_text("1.\n2.\n3.\n"))
Exemplo n.º 3
0
 def test_is_not_text_if_just_space(self):
     self.assertFalse(is_text(" \t\t\n"))
Exemplo n.º 4
0
 def test_is_not_text_if_just_numbers(self):
     self.assertFalse(is_text(" 1\n 2\n 3\n"))