Exemplo n.º 1
0
 def test_string_with_whitespace_is_blank(self):
     tools.assert_true(is_blank("\t\n "))
Exemplo n.º 2
0
 def test_string_with_narrow_nobreak_space_is_blank(self):
     tools.assert_true(is_blank("\u202F \t"))
Exemplo n.º 3
0
 def test_string_with_newline_is_blank(self):
     tools.assert_true(is_blank("\n"))
Exemplo n.º 4
0
 def test_string_with_whitespace_is_blank(self):
     assert is_blank("\t\n ")
Exemplo n.º 5
0
 def test_empty_string_is_blank(self):
     tools.assert_true(is_blank(""))
Exemplo n.º 6
0
 def test_string_with_narrow_nobreak_space_is_blank(self):
     assert is_blank("\u202F \t")
Exemplo n.º 7
0
 def test_string_with_newline_is_blank(self):
     assert is_blank("\n")
Exemplo n.º 8
0
 def test_string_with_chars_is_not_blank(self):
     tools.assert_false(is_blank("  #  "))
Exemplo n.º 9
0
 def test_empty_string_is_blank(self):
     assert is_blank("")
Exemplo n.º 10
0
 def test_string_with_tab_is_blank(self):
     tools.assert_true(is_blank("\t"))
Exemplo n.º 11
0
 def test_string_with_whitespace_is_blank(self):
     tools.assert_true(is_blank("\t\n "))
Exemplo n.º 12
0
 def test_string_with_newline_is_blank(self):
     tools.assert_true(is_blank("\n"))
Exemplo n.º 13
0
 def test_string_with_spaces_is_blank(self):
     tools.assert_true(is_blank("    "))
Exemplo n.º 14
0
 def test_string_with_narrow_nobreak_space_is_blank(self):
     tools.assert_true(is_blank("\u202F \t"))
Exemplo n.º 15
0
 def test_string_with_nobreak_space_is_blank(self):
     tools.assert_true(is_blank("\u00A0\t "))
Exemplo n.º 16
0
 def test_string_with_nobreak_space_is_blank(self):
     assert is_blank("\u00A0\t ")
Exemplo n.º 17
0
 def test_string_with_nobreak_space_is_blank(self):
     assert is_blank("\u00A0\t ")
Exemplo n.º 18
0
 def test_string_with_narrow_nobreak_space_is_blank(self):
     assert is_blank("\u202F \t")
Exemplo n.º 19
0
 def test_string_with_spaces_is_blank(self):
     assert is_blank("    ")
Exemplo n.º 20
0
 def test_string_with_spaces_is_blank(self):
     assert is_blank("    ")
Exemplo n.º 21
0
 def test_string_with_tab_is_blank(self):
     assert is_blank("\t")
Exemplo n.º 22
0
 def test_string_with_newline_is_blank(self):
     assert is_blank("\n")
Exemplo n.º 23
0
 def test_string_with_chars_is_not_blank(self):
     assert not is_blank("  #  ")
Exemplo n.º 24
0
 def test_string_with_tab_is_blank(self):
     assert is_blank("\t")
Exemplo n.º 25
0
 def test_string_with_nobreak_space_is_blank(self):
     tools.assert_true(is_blank("\u00A0\t "))
Exemplo n.º 26
0
 def test_string_with_whitespace_is_blank(self):
     assert is_blank("\t\n ")
Exemplo n.º 27
0
 def test_string_with_spaces_is_blank(self):
     tools.assert_true(is_blank("    "))
Exemplo n.º 28
0
 def test_string_with_chars_is_not_blank(self):
     assert not is_blank("  #  ")
Exemplo n.º 29
0
 def test_string_with_tab_is_blank(self):
     tools.assert_true(is_blank("\t"))
Exemplo n.º 30
0
 def test_empty_string_is_blank(self):
     assert is_blank("")
Exemplo n.º 31
0
 def test_string_with_chars_is_not_blank(self):
     tools.assert_false(is_blank("  #  "))
Exemplo n.º 32
0
 def test_empty_string_is_blank(self):
     tools.assert_true(is_blank(""))