Merge pull request #596 from fireeye/tests/fix-smda-fails

fix smda test xfail
This commit is contained in:
Moritz
2021-05-31 10:37:43 +02:00
committed by GitHub

View File

@@ -23,10 +23,10 @@ def test_smda_features(sample, scope, feature, expected):
if scope.__name__ == "file" and isinstance(feature, capa.features.file.FunctionName) and expected is True:
pytest.xfail("SMDA has no function ID")
if sample == "a1982..." and sys.platform == "win32":
if "a198216798ca38f280dc413f8c57f2c2" in sample and sys.platform == "win32":
pytest.xfail("SMDA bug tracked #585")
if sample == "al-khaser x64" and sys.platform == "win32":
if "al-khaser_x64" in sample and sys.platform == "win32":
pytest.xfail("SMDA bug tracked #585")
do_test_feature_presence(get_smda_extractor, sample, scope, feature, expected)