fix test xfail

This commit is contained in:
Moritz Raabe
2021-05-31 10:02:31 +02:00
parent ed02088c82
commit e6f45b63d6

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: if scope.__name__ == "file" and isinstance(feature, capa.features.file.FunctionName) and expected is True:
pytest.xfail("SMDA has no function ID") 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") 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") pytest.xfail("SMDA bug tracked #585")
do_test_feature_presence(get_smda_extractor, sample, scope, feature, expected) do_test_feature_presence(get_smda_extractor, sample, scope, feature, expected)