Closed kloczek closed 4 months ago
Pytest is not a supported way to run Tornado's test suite. My preferred way to run the tests is with python -m tornado.test
; it also works with python -m unittest discover
(with some additional args I can't remember).
Duplicate of #3095. If someone who cares about pytest wants to figure out what's going on and submit a PR to make it possible to use pytest as a test runner for tornado, I'd consider it, but I don't use pytest myself.
unittest
module will remain the "official" way to run tornado's tests)
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 modulesinstaller
modulecut off from access to the public network
(pytest is executed with-m "not network"
)pytest shows as well some
PytestCollectionWarning
warnings.Please let me know if you need more details or want me to perform some diagnostics.