Skip to content

Commit ec5c923

Browse files
fix mock
1 parent 442fb00 commit ec5c923

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

wiremock/tests/server_tests/server_tests.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ def test_get_free_port(self, mock_socket):
6060
@responses.activate
6161
def test_start(self, Popen, atexit):
6262
# mock healthy endpoint
63-
responses.add(responses.GET, "http://localhost/__admin", json=[], status=200)
63+
responses.add(responses.GET, "http://localhost:{}/__admin".format(self.wm.port), json=[], status=200)
6464

6565
def poll():
6666
Popen.return_value.returncode = None

0 commit comments

Comments
 (0)