diff options
Diffstat (limited to 'tests/test')
| -rw-r--r-- | tests/test/test_result.py | 6 | ||||
| -rw-r--r-- | tests/test/test_test.py | 10 |
2 files changed, 2 insertions, 14 deletions
diff --git a/tests/test/test_result.py b/tests/test/test_result.py index 2e3afdb..bf23626 100644 --- a/tests/test/test_result.py +++ b/tests/test/test_result.py @@ -6,7 +6,7 @@ # By: cacharle <me@cacharle.xyz> +#+ +:+ +#+ # # +#+#+#+#+#+ +#+ # # Created: 2021/03/01 16:26:34 by cacharle #+# #+# # -# Updated: 2021/03/06 10:01:04 by cacharle ### ########.fr # +# Updated: 2021/03/06 15:39:03 by cacharle ### ########.fr # # # # ############################################################################ # @@ -19,10 +19,6 @@ from minishell_test.test.result import BaseResult, Result, LeakResult, LeakResul from minishell_test.test.captured import CapturedCommand, CapturedTimeout -colors.disable() -Config.init([]) - - class TestBaseResult: @pytest.fixture def base_result(self): diff --git a/tests/test/test_test.py b/tests/test/test_test.py index 11255c0..f106cd1 100644 --- a/tests/test/test_test.py +++ b/tests/test/test_test.py @@ -6,7 +6,7 @@ # By: cacharle <me@cacharle.xyz> +#+ +:+ +#+ # # +#+#+#+#+#+ +#+ # # Created: 2021/03/02 18:48:57 by cacharle #+# #+# # -# Updated: 2021/03/06 10:07:07 by cacharle ### ########.fr # +# Updated: 2021/03/06 15:38:12 by cacharle ### ########.fr # # # # ############################################################################ # @@ -22,15 +22,7 @@ from minishell_test.test.captured import CapturedCommand, CapturedTimeout from minishell_test.test.test import Test, TestSetupException -colors.disable() -Config.init([]) - - class TestTest: - @pytest.fixture(autouse=True) - def reset_config(self): - Config.init([]) - def test_init_timeout(self, monkeypatch): assert Config.timeout_test == Test("")._timeout assert Config.timeout_test == Test("", timeout=0)._timeout |
