Skip to content

Commit

Permalink
added back a widget test
Browse files Browse the repository at this point in the history
  • Loading branch information
nickdelgrosso committed Oct 10, 2021
1 parent 3d38067 commit f73da83
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
3 changes: 3 additions & 0 deletions pytest.ini
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
[pytest]
qt_api=pyside2
addopts = --doctest-modules
filterwarnings =
ignore::DeprecationWarning
6 changes: 3 additions & 3 deletions tests/test_gui.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@
#

def test_region_tree_renders_without_problems(qtbot):
...
# tree_view = BrainRegionTree(model=BrainRegionTreeModel())
# tree_view.render()
tree_view = BrainRegionTree(model=BrainRegionTreeModel())
qtbot.add_widget(tree_view.widget)
tree_view.render()

#
# def test_sidebar_renders_without_problems(qtbot):
Expand Down

0 comments on commit f73da83

Please sign in to comment.