From 6dc16faa9b658e2dc911cee428dad01ca604a288 Mon Sep 17 00:00:00 2001 From: Carson Sears Date: Wed, 27 Mar 2024 09:20:19 -0500 Subject: [PATCH] remove test --- tests/utility/test_gui.py | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/tests/utility/test_gui.py b/tests/utility/test_gui.py index 2b0d4b8..ae1ad96 100644 --- a/tests/utility/test_gui.py +++ b/tests/utility/test_gui.py @@ -4,8 +4,6 @@ """ import sys -from unittest import mock -from unittest.mock import patch import pytest from garnet.garnet import gui @@ -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