Skip to content

Commit 0532346

Browse files
committed
remove tab and newline
1 parent 3b82688 commit 0532346

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().replace(" ", "")
122-
f2 = open(expected,"r").read().replace(" ", "")
121+
f1 = open(output_file, "r").read().replace(" ", "").strip('\n').strip('\t')
122+
f2 = open(expected,"r").read().replace(" ", "").strip('\n').strip('\t')
123123
assert f1 == f2
124124

125125
def remove_timestamp(html_text):

0 commit comments

Comments
 (0)