Skip to content

Commit 3b82688

Browse files
committed
replace spaces when doing comparison
1 parent b7e1bbd commit 3b82688

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/test_attrib.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,8 +118,8 @@ def test_lic_key_name_sync(self):
118118
errors, abouts = model.collect_inventory(test_file)
119119
attrib.generate_and_save(abouts, output_file, template_loc)
120120

121-
f1 = open(output_file, "r").read().strip()
122-
f2 = open(expected,"r").read().strip()
121+
f1 = open(output_file, "r").read().replace(" ", "")
122+
f2 = open(expected,"r").read().replace(" ", "")
123123
assert f1 == f2
124124

125125
def remove_timestamp(html_text):

0 commit comments

Comments
 (0)