We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 442fb00 commit ec5c923Copy full SHA for ec5c923
wiremock/tests/server_tests/server_tests.py
@@ -60,7 +60,7 @@ def test_get_free_port(self, mock_socket):
60
@responses.activate
61
def test_start(self, Popen, atexit):
62
# mock healthy endpoint
63
- responses.add(responses.GET, "http://localhost/__admin", json=[], status=200)
+ responses.add(responses.GET, "http://localhost:{}/__admin".format(self.wm.port), json=[], status=200)
64
65
def poll():
66
Popen.return_value.returncode = None
0 commit comments