brainglobe / brainrender

a python based software for visualization of neuroanatomical and morphological data.
https://brainglobe.info/documentation/brainrender/index.html
BSD 3-Clause "New" or "Revised" License
538 stars 75 forks source link

[BUG] Some slow tests fail locally #282

Closed alessandrofelder closed 7 months ago

alessandrofelder commented 9 months ago

Describe the bug Slow, local tests (not run on CI) fail locally.

To Reproduce Clone this repo, then

conda create -n test python=3.11
pip install -e .[dev]
pytest --runslow --runlocal

on local Ubuntu desktop gives:

FAILED tests/test_gui.py::test_simple_launch - TypeError: 'PySide2.QtCore.Qt.WindowType' object cannot be interpreted as an integer
FAILED tests/test_integration.py::test_animation - OSError: [Errno 39] Directory not empty: '/home/alessandro/dev/brainrender/tests/examples'
FAILED tests/test_streamlines.py::test_download - TypeError: object of type 'NoneType' has no len()
FAILED tests/test_streamlines.py::test_download_slow - TypeError: object of type 'NoneType' has no len()
FAILED tests/test_streamlines.py::test_streamlines - TypeError: 'NoneType' object is not subscriptable

Expected behaviour Tests pass

Log file NA

Screenshots NA

Computer used (please complete the following information): Ubuntu 22.04

Additional context NA

alessandrofelder commented 9 months ago
adamltyson commented 9 months ago

The remaining tests seem to be failing due to https://github.com/brainglobe/brainrender/issues/266

alessandrofelder commented 7 months ago

The remaining tests seem to be failing due to https://github.com/brainglobe/brainrender/issues/266

Agreed, closing.