コード例 #1
0
def test_list_datasets_with_pagination(client: Client, max_results,
                                       next_token):
    response = client.list_datasets(max_results=max_results,
                                    next_token=next_token)
    assert 'datasets' in response, 'Missing datasets in response'
    assert 'nextToken' in response, 'Missing nextToken in response'
コード例 #2
0
def test_list_datasets(client: Client):
    response = client.list_datasets()
    logging.info(response)
    assert 'datasets' in response, 'Missing datasets in response'