Skip to content

Commit

Permalink
remove test
Browse files Browse the repository at this point in the history
  • Loading branch information
searscr committed Mar 27, 2024
1 parent ea1ccfa commit 6dc16fa
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions tests/utility/test_gui.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@
"""

import sys
from unittest import mock
from unittest.mock import patch

import pytest
from garnet.garnet import gui
Expand All @@ -19,15 +17,3 @@ def test_gui_version():
gui()
assert excinfo.value.code is None
sys.argv = t_argv


@patch("garnet.garnet.QApplication")
@patch("garnet.garnet.Garnet")
def test_gui(mock_garnet: mock, mock_qtapp: mock):
"""Test the GUI entry point."""
with pytest.raises(SystemExit) as excinfo:
gui()

assert excinfo.type == SystemExit
assert mock_garnet.called
assert mock_qtapp.called

0 comments on commit 6dc16fa

Please sign in to comment.