예제 #1
0
파일: tests.py 프로젝트: viromehunter/yabi
 def test_not_looks_like_annotated_block(self):
     for plaintext, _ in CryptoTest.TEST_PAIRS:
         self.assertFalse(looks_like_annotated_block(plaintext))
예제 #2
0
파일: tests.py 프로젝트: viromehunter/yabi
 def test_not_looks_like_annotated_block_empty_string(self):
     self.assertFalse(looks_like_annotated_block(""))
예제 #3
0
파일: tests.py 프로젝트: viromehunter/yabi
 def test_looks_like_annotated_block(self):
     for _, encrypted in CryptoTest.TEST_PAIRS:
         self.assertTrue(looks_like_annotated_block(encrypted))
예제 #4
0
파일: tests.py 프로젝트: muccg/yabi
 def test_not_looks_like_annotated_block(self):
     for plaintext, _ in CryptoTest.TEST_PAIRS:
         self.assertFalse(looks_like_annotated_block(plaintext))
예제 #5
0
파일: tests.py 프로젝트: muccg/yabi
 def test_not_looks_like_annotated_block_empty_string(self):
     self.assertFalse(looks_like_annotated_block(""))
예제 #6
0
파일: tests.py 프로젝트: muccg/yabi
 def test_looks_like_annotated_block(self):
     for _, encrypted in CryptoTest.TEST_PAIRS:
         self.assertTrue(looks_like_annotated_block(encrypted))