added three tests to cover changes made by the pull request #1361 by GreenfishK · Pull Request #1645 · RDFLib/rdflib (original) (raw)

depends on how you run it, I run on my computer like this:

setup venv

\rm -rv .venv python3.8 -m venv .venv .venv/bin/python3 -m pip install -r requirements.txt -r requirements.dev.txt -r requirements.dev-extra.txt

run test with debug logging (--log-level DEBUG) and report for all tests (-rA)

.venv/bin/python3 -m pytest --log-level DEBUG -rA

But yes if you change tox.ini:

diff --git a/tox.ini b/tox.ini index c09483da..38b534b0 100644 --- a/tox.ini +++ b/tox.ini @@ -9,7 +9,7 @@ commands = {envpython} -m mypy rdflib --show-error-context --show-error-codes {envpython} setup.py clean --all {envpython} setup.py build

deps = -rrequirements.txt -rrequirements.dev.txt

Then it will do the same, and you can do the same by editing setup.cfg:

diff --git a/setup.cfg b/setup.cfg index 3e59cdf2..5990ade2 100644 --- a/setup.cfg +++ b/setup.cfg @@ -39,9 +39,13 @@ addopts = --ignore=admin --ignore=rdflib/extras/external_graph_libs.py --ignore-glob=docs/*.py

or run with:

PYTEST_ADDOPTS="-rA --log-level DEBUG" tox -e py37

I will add it to developers.rst when I have time.