mirror of
https://github.com/vee1e/capa.git
synced 2026-09-01 18:57:15 +00:00
tests updated
This commit is contained in:
parent
23ecb248a5
commit
db32d90480
2 changed files with 2 additions and 2 deletions
1
.github/pyinstaller/pyinstaller.spec
vendored
1
.github/pyinstaller/pyinstaller.spec
vendored
|
|
@ -17,6 +17,7 @@ a = Analysis(
|
|||
# when invoking pyinstaller from the project root,
|
||||
# this gets invoked from the directory of the spec file,
|
||||
# i.e. ./.github/pyinstaller
|
||||
("../../assets", "assets"),
|
||||
("../../rules", "rules"),
|
||||
("../../sigs", "sigs"),
|
||||
("../../cache", "cache"),
|
||||
|
|
|
|||
|
|
@ -1026,8 +1026,7 @@ def test_translate_com_features():
|
|||
capa.features.common.Bytes(b"[\x94\x18\xe0\x86\xaa\x08@\x9b\xd4gw\xa1\xe4\x0c\x11", f"IID_{com_name} as bytes"),
|
||||
capa.features.common.StringFactory("e018945b-aa86-4008-9bd4-6777a1e40c11", f"IID_{com_name} as GUID string"),
|
||||
]
|
||||
for child in r.statement.get_children():
|
||||
assert child in com_features
|
||||
assert set(com_features) == set(r.statement.get_children())
|
||||
|
||||
|
||||
def test_invalid_com_features():
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue