Closed kloczek closed 1 year ago
Did you build the docs first? The README tests will fail without a fresh build of the docs.
Alternatively, the README tests are cosmetic--you could just skip them with -k "not readme"
Did you build the docs first? The README tests will fail without a fresh build of the docs.
Without any problems. Rendered man page during pytaest ecrcution is in build/sphinx/man.
Why testing README needs rendered documentation? 🤔
Because some examples in the README use the objects.inv
from the built docs as their input.
The README tests are essentially doctests -- they enable me to be sure that the content in the README matches what the CLI and API actually output.
They have no bearing on the functionality of the package. Please just skip them with -k "not readme"
.
ok
Changed my mind -- it'll make my development flow better to pull these out of the main test suite. If I've done things right, you shouldn't have to deal with this for future sphobjinv
releases.
OK. Thank you 👍 Do you want me to test that last pull/261?
Sure, might as well test it now.
I'm packaging your module as an rpm package so I'm using the typical PEP517 based build, install and test cycle used on building packages from non-root account.
python3 -sBm build -w --no-isolation
build
with--no-isolation
I'm using during all processes only locally installed modulesHere is pytest output:
Here is list of installed modules in build env