From e6f45b63d67aedb0c9e6f422cb5dbd39b84bd107 Mon Sep 17 00:00:00 2001 From: Moritz Raabe Date: Mon, 31 May 2021 10:02:31 +0200 Subject: [PATCH] fix test xfail --- tests/test_smda_features.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_smda_features.py b/tests/test_smda_features.py index 85954d99..9631b765 100644 --- a/tests/test_smda_features.py +++ b/tests/test_smda_features.py @@ -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)