mirror of
https://github.com/status-im/spiff-arena.git
synced 2025-02-05 14:44:12 +00:00
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" ?-->
|
<!--?xml version="1.0" ?-->
|
||||||
<!DOCTYPE replace [<!ENTITY ent SYSTEM "file://{{FULL_PATH_TO_FILE}}"> ]>
|
<!DOCTYPE replace [<!ENTITY ent SYSTEM "{{FULL_PATH_TO_FILE}}"> ]>
|
||||||
<userInfo>
|
<userInfo>
|
||||||
<firstName>John</firstName>
|
<firstName>John</firstName>
|
||||||
<lastName>&ent;</lastName>
|
<lastName>&ent;</lastName>
|
||||||
|
@ -249,6 +249,9 @@ class TestSpecFileService(BaseTest):
|
|||||||
tmp_file = os.path.normpath(
|
tmp_file = os.path.normpath(
|
||||||
self.get_test_data_file_full_path("file_to_inject", "xml_with_entity")
|
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(
|
file_contents = self.get_test_data_file_contents(
|
||||||
"invoice.bpmn", "xml_with_entity"
|
"invoice.bpmn", "xml_with_entity"
|
||||||
)
|
)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user