Wrong Link To PyTest Isolation Guide
iluxonchik opened this issue · comments
Illya Gerasymchuk commented
Environment information
brownie
Version: 1.19.2ganache-cli
Version: 6.12.2solc
Version: 0.8.0- Python Version: 3.11.0
- OS: OSX
What was wrong?
When attempting to run parallel tests on test cases that are not properly isolated, the resulting error message contains a faulty URL. An example command that can be used to reproduce this issue is: brownie test -k <test_file_name> -n 10
. The error message displayed is:
ERROR: xdist workers failed to collect tests. Ensure all test cases are isolated with the module_isolation or fn_isolation fixtures.
https://eth-brownie.readthedocs.io/en/stable/tests.html#isolating-tests
However, this URL leads to a non-existent, 404 page.
How can it be fixed?
Update the URL in the error message to the correct page: https://eth-brownie.readthedocs.io/en/stable/tests-pytest-intro.html#pytest-fixtures-isolation
Illya Gerasymchuk commented
Submitted PR here: #1649