Skip to content

Commit

Permalink
tests updated
Browse files Browse the repository at this point in the history
  • Loading branch information
Aayush-Goel-04 committed Oct 16, 2023
1 parent 23ecb24 commit db32d90
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions .github/pyinstaller/pyinstaller.spec
Original file line number Diff line number Diff line change
Expand Up @@ -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"),
Expand Down
3 changes: 1 addition & 2 deletions tests/test_rules.py
Original file line number Diff line number Diff line change
Expand Up @@ -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():
Expand Down

0 comments on commit db32d90

Please sign in to comment.