use the correct windows path separator in test file
This commit is contained in:
parent
e24a62b4ab
commit
baf60e9cc9
|
@ -1,5 +1,5 @@
|
|||
<!--?xml version="1.0" ?-->
|
||||
<!DOCTYPE replace [<!ENTITY ent SYSTEM "file://{{FULL_PATH_TO_FILE}}"> ]>
|
||||
<!DOCTYPE replace [<!ENTITY ent SYSTEM "{{FULL_PATH_TO_FILE}}"> ]>
|
||||
<userInfo>
|
||||
<firstName>John</firstName>
|
||||
<lastName>&ent;</lastName>
|
||||
|
|
|
@ -249,6 +249,9 @@ class TestSpecFileService(BaseTest):
|
|||
tmp_file = os.path.normpath(
|
||||
self.get_test_data_file_full_path("file_to_inject", "xml_with_entity")
|
||||
)
|
||||
|
||||
# add the file: with the correct separator for windows
|
||||
tmp_file = f"file:{os.path.sep}{tmp_file}"
|
||||
file_contents = self.get_test_data_file_contents(
|
||||
"invoice.bpmn", "xml_with_entity"
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue