예제 #1
0
 def test_non_printable(self):
     assert not utils.is_printable(chr(11))
예제 #2
0
 def test_punctation(self):
     assert utils.is_printable(".")
예제 #3
0
 def test_whitespace(self):
     assert utils.is_printable(" ")
예제 #4
0
 def test_digit(self):
     assert utils.is_printable(u"9")
예제 #5
0
 def test_literal(self):
     assert utils.is_printable("e")
예제 #6
0
파일: test_utils.py 프로젝트: consen/cuckoo
 def test_non_printable(self):
     assert not utils.is_printable(chr(11))
예제 #7
0
 def test_utf(self):
     assert not utils.is_printable(u"\xe9")
예제 #8
0
파일: test_utils.py 프로젝트: consen/cuckoo
 def test_whitespace(self):
     assert utils.is_printable(" ")
예제 #9
0
파일: test_utils.py 프로젝트: consen/cuckoo
 def test_punctation(self):
     assert utils.is_printable(".")
예제 #10
0
파일: test_utils.py 프로젝트: consen/cuckoo
 def test_literal(self):
     assert utils.is_printable("e")
예제 #11
0
파일: test_utils.py 프로젝트: consen/cuckoo
 def test_digit(self):
     assert utils.is_printable(u"9")
예제 #12
0
파일: test_utils.py 프로젝트: consen/cuckoo
 def test_utf(self):
     assert not utils.is_printable(u"\xe9")