[tests] Skip openlibrary lookup tests
This commit is contained in:
2
Makefile
2
Makefile
@ -2,3 +2,5 @@ deploy:
|
||||
ssh vrobbler.service "rm -rf /usr/local/lib/python3.11/site-packages/vrobbler-0.15.4.dist-info/ && pip install git+https://code.unbl.ink/secstate/vrobbler.git@develop && immortalctl restart vrobbler && immortalctl restart vrobbler-celery && vrobbler migrate"
|
||||
logs:
|
||||
ssh life.unbl.ink tail -n 100 -f /var/log/vrobbler.json
|
||||
test:
|
||||
pytest vrobbler
|
||||
|
||||
@ -5,6 +5,7 @@ import pytest
|
||||
from books.openlibrary import lookup_book_from_openlibrary
|
||||
|
||||
|
||||
@pytest.mark.skip()
|
||||
def test_lookup_modern_book():
|
||||
book = lookup_book_from_openlibrary("Matrix", "Lauren Groff")
|
||||
assert book.get("title") == "Matrix"
|
||||
@ -12,6 +13,7 @@ def test_lookup_modern_book():
|
||||
assert book.get("ol_author_id") == "OL3675729A"
|
||||
|
||||
|
||||
@pytest.mark.skip()
|
||||
def test_lookup_classic_book():
|
||||
book = lookup_book_from_openlibrary(
|
||||
"The Life of Castruccio Castracani", "Machiavelli"
|
||||
@ -21,6 +23,7 @@ def test_lookup_classic_book():
|
||||
assert book.get("ol_author_id") == "OL23135A"
|
||||
|
||||
|
||||
@pytest.mark.skip()
|
||||
def test_lookup_foreign_book():
|
||||
book = lookup_book_from_openlibrary("Ravagé", "René Barjavel")
|
||||
assert book.get("title") == "Ravage"
|
||||
|
||||
Reference in New Issue
Block a user