Skip to content

Commit

Permalink
test: fix message profile test for windows
Browse files Browse the repository at this point in the history
  • Loading branch information
svituz committed Jan 9, 2024
1 parent f7dfbb5 commit 8a735cf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/test_validation.py
Original file line number Diff line number Diff line change
Expand Up @@ -403,7 +403,8 @@ def setUp(self):
path = os.path.join(base_path, 'profiles/iti_21')
self.rsp_k21_mp = hl7apy.load_message_profile(path)

self.report_file = '/tmp/hl7apy_test_rf'
report_file = tempfile.NamedTemporaryFile()
self.report_file = report_file.name

def _create_message(self, msg_str):
return parse_message(msg_str, message_profile=self.rsp_k21_mp)
Expand Down

0 comments on commit 8a735cf

Please sign in to comment.