Beispiel #1
0
def test_base_polling_continuation_token(client, polling_response):
    polling, _ = polling_response

    continuation_token = polling.get_continuation_token()
    assert isinstance(continuation_token, str)

    polling_args = AsyncLROBasePolling.from_continuation_token(
        continuation_token,
        deserialization_callback="deserialization_callback",
        client=client,
    )
    new_polling = AsyncLROBasePolling()
    new_polling.initialize(*polling_args)