Beispiel #1
0
def test_set_get_server_url():
    # type: () -> None
    connector = ServerConnector()
    connector.server_url = CUSTOM_EYES_SERVER
    assert connector.server_url == CUSTOM_EYES_SERVER
def connector(custom_eyes_server):
    # type: (Optional[Text]) -> ServerConnector
    connector = ServerConnector()
    connector.server_url = custom_eyes_server
    return connector