Skip to content

Commit

Permalink
Smoke test for gui window (#505)
Browse files Browse the repository at this point in the history
* launch window test

* added gui window smoke test
  • Loading branch information
nickdelgrosso committed Aug 13, 2020
1 parent 9fbc1aa commit 4564a89
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
tests_require=[
'pytest',
'pynwb',
'pytest-qt',
],
extras_require={
"docs": [
Expand Down
6 changes: 6 additions & 0 deletions tests/smoke/test_gui.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
from suite2p.gui.gui2p import MainWindow


def test_main_window_launches_without_error(qtbot):
app = MainWindow()
qtbot.addWidget(app)

0 comments on commit 4564a89

Please sign in to comment.