From 6cd3f9cec4a3debff221c184896300b2ee62802b Mon Sep 17 00:00:00 2001 From: David McLain Date: Wed, 27 Nov 2024 22:40:55 +0000 Subject: [PATCH] fixed small test case issues --- landscape/client/tests/test_deployment.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/landscape/client/tests/test_deployment.py b/landscape/client/tests/test_deployment.py index 30d5209a..72eb4de4 100644 --- a/landscape/client/tests/test_deployment.py +++ b/landscape/client/tests/test_deployment.py @@ -612,14 +612,14 @@ def test_true_values(self): val = True for t in TRUTHY_VALUES: val = convert_arg_to_bool(t) - self.assertTrue(val) + self.assertTrue(val) def test_false_values(self): FALSY_VALUES = {"false", "no", "n", "0", "off", "FALSE", "No"} val = False for f in FALSY_VALUES: val = convert_arg_to_bool(f) - self.assertFalse(val) + self.assertFalse(val) @mock.patch("landscape.client.deployment.info") def test_invalid_values(self, logging): @@ -631,4 +631,4 @@ def test_invalid_values(self, logging): "Error. Invalid boolean provided in config or parameters. " + "Defaulting to False.", ) - self.assertFalse(val) + self.assertFalse(val)