Fix NdrCString not accepting strings in python3 #85
4 fail, 56 skipped, 460 pass in 2m 36s
520 tests 460 ✅ 2m 36s ⏱️
1 suites 56 💤
1 files 4 ❌
Results for commit 19da4ad.
Annotations
Check warning on line 0 in test_apisetmap
github-actions / PyTest Results for 3.11-64
test_apisetmap_parsing_current_process (test_apisetmap) failed
junit/test-results.xml [took 0s]
Raw output
assert False
+ where False = all(<generator object verify_apisetmap_parsing.<locals>.<genexpr> at 0x0000027036747920>)
def test_apisetmap_parsing_current_process():
> return verify_apisetmap_parsing(windows.current_process.peb.ApiSetMap)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
tests\test_apisetmap.py:43:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
apisetmap_base = 2680843468800, version = None
def verify_apisetmap_parsing(apisetmap_base, version=None):
if version is not None:
assert windows.current_process.read_dword(apisetmap_base) == version
apisetmap = get_api_set_map_for_current_process(apisetmap_base)
apisetmap_dict = apisetmap.resolution_dict
# import pdb;pdb.set_trace()
assert apisetmap_dict
# Verify that at least one entry resolve to kernel32.dll
# This ensure that the ApiSetMap parsing works at least a little
assert "kernel32.dll" in apisetmap_dict.values()
> assert all(any(dll.startswith(pref) for pref in KNOWN_APISETMAP_PREFIX) for dll in apisetmap_dict)
E assert False
E + where False = all(<generator object verify_apisetmap_parsing.<locals>.<genexpr> at 0x0000027036747920>)
tests\test_apisetmap.py:35: AssertionError
Check warning on line 0 in test_apisetmap
github-actions / PyTest Results for 3.11-64
test_apisetmap_parsing_from_dump[Version6] (test_apisetmap) failed
junit/test-results.xml [took 0s]
Raw output
assert False
+ where False = all(<generator object verify_apisetmap_parsing.<locals>.<genexpr> at 0x00000270367474C0>)
dumped_apisetmap_base_and_version = (2680863682432, 6)
def test_apisetmap_parsing_from_dump(dumped_apisetmap_base_and_version):
> return verify_apisetmap_parsing(*dumped_apisetmap_base_and_version)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
tests\test_apisetmap.py:46:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
apisetmap_base = 2680863682432, version = 6
def verify_apisetmap_parsing(apisetmap_base, version=None):
if version is not None:
assert windows.current_process.read_dword(apisetmap_base) == version
apisetmap = get_api_set_map_for_current_process(apisetmap_base)
apisetmap_dict = apisetmap.resolution_dict
# import pdb;pdb.set_trace()
assert apisetmap_dict
# Verify that at least one entry resolve to kernel32.dll
# This ensure that the ApiSetMap parsing works at least a little
assert "kernel32.dll" in apisetmap_dict.values()
> assert all(any(dll.startswith(pref) for pref in KNOWN_APISETMAP_PREFIX) for dll in apisetmap_dict)
E assert False
E + where False = all(<generator object verify_apisetmap_parsing.<locals>.<genexpr> at 0x00000270367474C0>)
tests\test_apisetmap.py:35: AssertionError
Check warning on line 0 in test_apisetmap
github-actions / PyTest Results for 3.11-64
test_apisetmap_parsing_from_dump[Version4] (test_apisetmap) failed
junit/test-results.xml [took 0s]
Raw output
assert False
+ where False = all(<generator object verify_apisetmap_parsing.<locals>.<genexpr> at 0x00000270367497E0>)
dumped_apisetmap_base_and_version = (2680912858928, 4)
def test_apisetmap_parsing_from_dump(dumped_apisetmap_base_and_version):
> return verify_apisetmap_parsing(*dumped_apisetmap_base_and_version)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
tests\test_apisetmap.py:46:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
apisetmap_base = 2680912858928, version = 4
def verify_apisetmap_parsing(apisetmap_base, version=None):
if version is not None:
assert windows.current_process.read_dword(apisetmap_base) == version
apisetmap = get_api_set_map_for_current_process(apisetmap_base)
apisetmap_dict = apisetmap.resolution_dict
# import pdb;pdb.set_trace()
assert apisetmap_dict
# Verify that at least one entry resolve to kernel32.dll
# This ensure that the ApiSetMap parsing works at least a little
assert "kernel32.dll" in apisetmap_dict.values()
> assert all(any(dll.startswith(pref) for pref in KNOWN_APISETMAP_PREFIX) for dll in apisetmap_dict)
E assert False
E + where False = all(<generator object verify_apisetmap_parsing.<locals>.<genexpr> at 0x00000270367497E0>)
tests\test_apisetmap.py:35: AssertionError
Check warning on line 0 in test_apisetmap
github-actions / PyTest Results for 3.11-64
test_apisetmap_parsing_from_dump[Version2] (test_apisetmap) failed
junit/test-results.xml [took 0s]
Raw output
assert False
+ where False = all(<generator object verify_apisetmap_parsing.<locals>.<genexpr> at 0x0000027036749D20>)
dumped_apisetmap_base_and_version = (2680855847136, 2)
def test_apisetmap_parsing_from_dump(dumped_apisetmap_base_and_version):
> return verify_apisetmap_parsing(*dumped_apisetmap_base_and_version)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
tests\test_apisetmap.py:46:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
apisetmap_base = 2680855847136, version = 2
def verify_apisetmap_parsing(apisetmap_base, version=None):
if version is not None:
assert windows.current_process.read_dword(apisetmap_base) == version
apisetmap = get_api_set_map_for_current_process(apisetmap_base)
apisetmap_dict = apisetmap.resolution_dict
# import pdb;pdb.set_trace()
assert apisetmap_dict
# Verify that at least one entry resolve to kernel32.dll
# This ensure that the ApiSetMap parsing works at least a little
assert "kernel32.dll" in apisetmap_dict.values()
> assert all(any(dll.startswith(pref) for pref in KNOWN_APISETMAP_PREFIX) for dll in apisetmap_dict)
E assert False
E + where False = all(<generator object verify_apisetmap_parsing.<locals>.<genexpr> at 0x0000027036749D20>)
tests\test_apisetmap.py:35: AssertionError