From ca420449cd96e1927564431a4d33388a0661cf91 Mon Sep 17 00:00:00 2001 From: nnandigam Date: Thu, 12 Oct 2023 16:25:15 -0700 Subject: [PATCH] test update --- tests/common/test_version.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/common/test_version.py b/tests/common/test_version.py index 5b8975069..89156f65c 100644 --- a/tests/common/test_version.py +++ b/tests/common/test_version.py @@ -145,6 +145,8 @@ def test_get_daemon_version_from_fallback_when_the_version_has_not_been_set(self self.assertEqual(FlexibleVersion("2.3.53"), get_daemon_version(), "The daemon version should be 2.3.53") self.assertEqual(1, mock_run_command.call_count, "The daemon version should be read from env value on second time") + os.environ.pop(DAEMON_VERSION_ENV_VARIABLE) + class TestCurrentAgentName(AgentTestCase): def setUp(self):