Skip to content

Commit

Permalink
test: update test case to write content as is
Browse files Browse the repository at this point in the history
  • Loading branch information
hetangmodi-crest committed Aug 1, 2024
1 parent 9096f0d commit 58bbd17
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions test_addonfactory_splunk_conf_parser_lib.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 = """
Expand Down

0 comments on commit 58bbd17

Please sign in to comment.