Skip to content

Commit

Permalink
Monty fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
jan-janssen committed Jan 20, 2025
1 parent be47207 commit ec12a09
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/unit/job/test_genericJob.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ def test_compress_file_list(self):
os.makedirs(ham.working_directory, exist_ok=True)
for file in file_lst:
with open(os.path.join(ham.working_directory, file), "w") as f:
f.writelines(["content: " + file])
f.writelines(["content: " + file + "\n"])
for file in file_lst:
self.assertTrue(file in ham.files.list())
for file in file_lst:
Expand Down Expand Up @@ -762,7 +762,7 @@ def test_tail(self):
job.decompress()
content = ["Content", "More", "Lines"]
with open(os.path.join(job.working_directory, "test_file"), "w") as f:
f.write(os.linesep.join(content))
f.write(os.linesep.join(content) + "\n")

for i in range(len(content)):
with self.subTest(i=i):
Expand Down

0 comments on commit ec12a09

Please sign in to comment.