From c8d00f87719ae28ceda0d1228f5ecc48a245d5cf Mon Sep 17 00:00:00 2001 From: Jonathan de Bruin Date: Sun, 22 Dec 2024 14:26:15 +0000 Subject: [PATCH] Skip ngram tests as API is not available --- tests/test_pyalex.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/test_pyalex.py b/tests/test_pyalex.py index e0a9257..9b3855f 100644 --- a/tests/test_pyalex.py +++ b/tests/test_pyalex.py @@ -259,12 +259,14 @@ def test_serializable_list(tmpdir): assert all(isinstance(w, Work) for w in works) +@pytest.mark.skip("This test is not working due to unavailable API.") def test_ngrams_without_metadata(): r = Works()["W2023271753"].ngrams(return_meta=False) assert len(r) == 1068 +@pytest.mark.skip("This test is not working due to unavailable API.") def test_ngrams_with_metadata(): r, meta = Works()["W2023271753"].ngrams(return_meta=True)