소스 검색

fix Utility tests

Jens Keim 6 년 전
부모
커밋
e9a52a89ad
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      code/Test/test_Utility.py

+ 1 - 1
code/Test/test_Utility.py

@@ -128,7 +128,7 @@ class TestUtility(unittest.TestCase):
         result = Utility.get_rnd_x86_nop(1000, False)
         correct = True
         for byte in result:
-            if byte.to_bytes(1, "little") not in TestLibrary.x86_nops and byte.to_bytes(1, "little") not in TestLibrary.x86_pseudo_nops:
+            if byte.to_bytes(1, "little") not in Utility.x86_nops and byte.to_bytes(1, "little") not in Utility.x86_pseudo_nops:
                 correct = False
         self.assertTrue(correct)