コード例 #1
0
def test_client_can_get_resets(requests_mock):
    mock_resets(requests_mock)
    client = Client("v2_api_key")

    resets = client.resets()
    assert len(resets.current_page.data) == 1
コード例 #2
0
def test_real_connection_to_resets():
    client = Client(api_key)
    resets = client.resets()
    assert len(resets.current_page.data) == 0