From f409a31407f41c2c04e9129cdd07cb100830cbac Mon Sep 17 00:00:00 2001 From: Nick Moore Date: Tue, 2 Apr 2024 14:28:40 +1100 Subject: [PATCH] tidy up --- tests/gui/test_main.py | 3 ++- tests/gui/test_tabular.py | 2 +- tests/test_cmd.py | 1 + tests/test_gui.py | 4 +++- 4 files changed, 7 insertions(+), 3 deletions(-) diff --git a/tests/gui/test_main.py b/tests/gui/test_main.py index 20a27d6..f577c31 100644 --- a/tests/gui/test_main.py +++ b/tests/gui/test_main.py @@ -1,8 +1,9 @@ -import pytest import time import tkinter as tk from unittest.mock import MagicMock +import pytest + from countess.core.config import read_config from countess.core.pipeline import PipelineNode from countess.gui.main import ConfiguratorWrapper, PluginChooserFrame, RunWindow, make_root diff --git a/tests/gui/test_tabular.py b/tests/gui/test_tabular.py index 72b23cf..3583096 100644 --- a/tests/gui/test_tabular.py +++ b/tests/gui/test_tabular.py @@ -1,8 +1,8 @@ -import pytest import time import numpy as np import pandas as pd +import pytest from countess.gui.main import make_root from countess.gui.tabular import TabularDataFrame diff --git a/tests/test_cmd.py b/tests/test_cmd.py index 42e1b5e..8f71892 100644 --- a/tests/test_cmd.py +++ b/tests/test_cmd.py @@ -10,6 +10,7 @@ "qux",12,9,8,7,999,0.10810810810810811 """ + @pytest.mark.slow def test_command_invocation(): cmd_run(["countess_cmd", "tests/simple.ini"]) diff --git a/tests/test_gui.py b/tests/test_gui.py index 406f101..4253776 100644 --- a/tests/test_gui.py +++ b/tests/test_gui.py @@ -1,9 +1,11 @@ -import pytest import time +import pytest + from countess.core.config import write_config from countess.gui.main import MainWindow, make_root + @pytest.mark.gui def test_open_nodes(): root = make_root()