From 163ae63e74651c3c304ac12ccb4d4594440cf2e2 Mon Sep 17 00:00:00 2001 From: Damjan Kuznar Date: Thu, 27 Jul 2023 08:54:13 +0200 Subject: [PATCH] skip test_resolve_collection_data_no_external on in CI --- tests/resolver/test_testset_resolver.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tests/resolver/test_testset_resolver.py b/tests/resolver/test_testset_resolver.py index 986d486..588aceb 100644 --- a/tests/resolver/test_testset_resolver.py +++ b/tests/resolver/test_testset_resolver.py @@ -178,7 +178,10 @@ def test_resolve_collection_data_rarity_sniffer(self): assert len(rows) == 10_000 - @pytest.mark.skip(reason="Needs OpenSea API key to be set up") + @pytest.mark.skipif( + "not config.getoption('--run-resolvers')", + reason="Needs OpenSea API key to be set up", + ) def test_resolve_collection_data_no_external(self): # Have the resolver pull in BAYC rarity rankings from various sources # Just do a check to ensure the ranks from different providers are