replace pytest-vcr with pytest-recording in docs

pull/407/head
Anna “CyberTailor” 2025-04-21 15:03:46 +05:00
rodzic 3be3cabc85
commit 8b57a607ea
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: E7B76EDC50864BB1
2 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -29,5 +29,5 @@ Mastodon.py has an extensive suite of tests. The purpose of these is twofold:
* Make sure nothing is broken and that there aren't any regressions
* Where the official docs are unclear, verify assumptions we make about the Mastodon API and document the results
The tests use pytest and pytest-vcr so that they can be ran even without a mastodon server, but new tests require
The tests use pytest and pytest-recording so that they can be ran even without a mastodon server, but new tests require
setting up a mastodon dev server. Further documentation can be found in the "tests" directory in the repository.

Wyświetl plik

@ -405,7 +405,7 @@
"outputs": [],
"source": [
"# Generate code for testing the entities\n",
"# Tests are generated using pytest-vcr. Every entity gets a test, constructed to call the function (or two functions)\n",
"# Tests are generated using pytest-recording. Every entity gets a test, constructed to call the function (or two functions)\n",
"# that retrieves it (see Entity Verification above). The test then checks the type against the expected type.\n",
"\n",
"# mastodon_base (mastodon_soc) and mastodon_admin (mastodon_ico_admin) are used to retrieve the entities. These are provided\n",