From 58bbd17aaa061ecc3c721d7613ba836c2097f218 Mon Sep 17 00:00:00 2001 From: hetangmodi-crest Date: Thu, 1 Aug 2024 18:14:35 +0530 Subject: [PATCH] test: update test case to write content as is --- test_addonfactory_splunk_conf_parser_lib.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/test_addonfactory_splunk_conf_parser_lib.py b/test_addonfactory_splunk_conf_parser_lib.py index 54d9a28..938c339 100644 --- a/test_addonfactory_splunk_conf_parser_lib.py +++ b/test_addonfactory_splunk_conf_parser_lib.py @@ -83,8 +83,7 @@ def test_write(self): parser.read_string(conf) output = io.StringIO() parser.write(output) - expected_output = conf + "\n" - self.assertEqual(expected_output, output.getvalue()) + self.assertEqual(conf, output.getvalue()) def test_items(self): conf = """