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
def test_real_connection_to_resets(): client = Client(api_key) resets = client.resets() assert len(resets.current_page.data) == 0