Skip to content

Commit

Permalink
Tests: Disable matplotlib tests for lab 4
Browse files Browse the repository at this point in the history
The matplotlib test loads all figures at once, but for lab they have to
be loaded and tested when in view. We disable this test for lab 4 and
put this as task for later. See issue #52.
  • Loading branch information
agoscinski committed Jul 3, 2024
1 parent 934fe5a commit 353ba17
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions tests/test_widgets.py
Original file line number Diff line number Diff line change
Expand Up @@ -589,6 +589,7 @@ def test_widget_answer(self, selenium_driver):
("tests/notebooks/widget_cue_figure-inline.ipynb", "inline"),
],
)
@pytest.mark.matplotlib
def test_widget_figure(selenium_driver, nb_filename, mpl_backend):
"""
We separate the widget figure tests for different backends to different files
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ deps =
commands =
# converts the python files to ipython notebooks
jupytext tests/notebooks/*.py --to ipynb
pytest {posargs:-v} --driver Firefox
pytest {posargs:-v} -m "not matplotlib" --driver Firefox

[testenv:coverage]
# We do coverage in a separate environment that skips the selenium tests but
Expand Down

0 comments on commit 353ba17

Please sign in to comment.