Skip to content

Commit

Permalink
Fix diff output in test for Python 3
Browse files Browse the repository at this point in the history
Signed-off-by: Saikrishna Arcot <[email protected]>
  • Loading branch information
saiarcot895 committed Nov 3, 2023
1 parent 66d69a8 commit 447f8b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/hostcfgd/hostcfgd_passwh_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ def check_config(self, test_name, test_data, config_name):
if not match:
for name in files_to_compare:
diff_output += self.run_diff( sop_path + "/" + name,\
op_path + "/" + name).decode('utf-8')
op_path + "/" + name)

self.assertTrue(len(diff_output) == 0, diff_output)

Expand Down

0 comments on commit 447f8b6

Please sign in to comment.