From 939cdeb6b3f0391cf2998d7120bd423aa433f637 Mon Sep 17 00:00:00 2001 From: Eli Kogan-Wang Date: Wed, 20 Dec 2023 15:21:39 +0100 Subject: [PATCH] Remove unnecessary code in test_environment.py --- src/batou/tests/test_environment.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/batou/tests/test_environment.py b/src/batou/tests/test_environment.py index b9557bba..bd96c983 100644 --- a/src/batou/tests/test_environment.py +++ b/src/batou/tests/test_environment.py @@ -287,10 +287,6 @@ def _get_components(hostname): @mock.patch("batou.remote_core.Output.line") def test_log_in_component_configure_is_put_out(output, sample_service): - # we are deploying in this test - # so we will reset some application state - Component.instances = [] - # this is for tracking which components are used and not e = Environment("test-with-provide-require") e.load() e.configure()