kopia lustrzana https://github.com/halcy/Mastodon.py
replace pytest-vcr with pytest-recording in docs
rodzic
3be3cabc85
commit
8b57a607ea
|
@ -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.
|
||||
|
|
|
@ -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",
|
||||
|
|
Ładowanie…
Reference in New Issue