Here are the examples of the python api tests.mocks.get_free_port taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.
1 Examples
3
Source : conftest.py
with Apache License 2.0
from devshawn
with Apache License 2.0
from devshawn
def setup_mock_kafka_connect_api(mock_name):
kafka_connect_port = mocks.get_free_port()
mocks.start_mock_server(kafka_connect_port, mock_name)
return kafka_connect_port
def wait_for_servers_to_be_up(kafka_connect_url):