From ab585ef951d5153a3adb38b0ca6847b2cd4d5044 Mon Sep 17 00:00:00 2001 From: Yacine Elhamer Date: Fri, 21 Jul 2023 14:00:58 +0100 Subject: [PATCH] add the `skipif` mark back --- tests/test_binja_features.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/test_binja_features.py b/tests/test_binja_features.py index 4397cf82..f0f13778 100644 --- a/tests/test_binja_features.py +++ b/tests/test_binja_features.py @@ -62,6 +62,7 @@ def test_binja_feature_counts(sample, scope, feature, expected): fixtures.do_test_feature_count(fixtures.get_binja_extractor, sample, scope, feature, expected) +@pytest.mark.skipif(binja_present is False, reason="Skip binja tests if the binaryninja Python API is not installed") @pytest.mark.xfail(reason="relies on the legacy ruleset which hasn't been updated yet") def test_standalone_binja_backend(): CD = Path(__file__).resolve().parent