This PR aims to fix the flaky test tests/online_test.py::TestCell::test_link. In previous versions, the test will run into failure when running for multiple times. And the reason is that the parameters self.cell.row, self.cell.col didn't get reset. The test failure can be reproduced by
pip install pytest-flakefinderpytest --flake-finder --flake-runs=2 tests/online_test.py::TestCell
Notice that the PR is modifying the test to make it more robust without changing the source code.
This PR aims to fix the flaky test
tests/online_test.py::TestCell::test_link
. In previous versions, the test will run into failure when running for multiple times. And the reason is that the parametersself.cell.row, self.cell.col
didn't get reset. The test failure can be reproduced bypip install pytest-flakefinder
pytest --flake-finder --flake-runs=2 tests/online_test.py::TestCell
Notice that the PR is modifying the test to make it more robust without changing the source code.