We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
this should set the root dir for the server
self.wiremock_server = WireMockServer(root_dir=os.path.abspath("tests/resources"))
put file in tests/resources/__files
ref file in response mapping using body_file_name
error file not found and it defaults to root of current drive
the issue is on line 64 of server.py
cmd.append("--root-dir=")
should be
cmd.append("--root-dir")
looks like a cut and paste issue ;-)
I have fixed it locally and it works as expected
The text was updated successfully, but these errors were encountered:
--root-dir
Successfully merging a pull request may close this issue.
Proposal
this should set the root dir for the server
Reproduction steps
self.wiremock_server = WireMockServer(root_dir=os.path.abspath("tests/resources"))
put file in tests/resources/__files
ref file in response mapping using body_file_name
error file not found and it defaults to root of current drive
References
the issue is on line 64 of server.py
should be
looks like a cut and paste issue ;-)
I have fixed it locally and it works as expected
The text was updated successfully, but these errors were encountered: