Exemplo n.º 1
0
def test_list_assets_with_pagination(client: Client, max_results, next_token):
    response = client.list_assets(max_results=max_results,
                                  next_token=next_token)
    assert 'assets' in response, 'Missing assets in response'
    assert 'nextToken' in response, 'Missing nextToken in response'
Exemplo n.º 2
0
def test_list_assets(client: Client):
    response = client.list_assets()
    logging.info(response)
    assert 'assets' in response, 'Missing assets in response'