Test Isone Api#

Module Contents#

Classes Summary#

TestISONEAPI

Attributes Summary#

api_vcr

TEST_DATES

TEST_MULTIPLE_LOCATIONS

TEST_SINGLE_LOCATIONS

Contents#

test_isone_api.api_vcr[source]#
test_isone_api.TEST_DATES = [('2024-11-02', '2024-11-04'), ('2024-03-09', '2024-03-11')][source]#
test_isone_api.TEST_MULTIPLE_LOCATIONS = [('.Z.MAINE', '.Z.NEWHAMPSHIRE')][source]#
test_isone_api.TEST_SINGLE_LOCATIONS[source]#
class test_isone_api.TestISONEAPI[source]#

Methods

setup_class

test_class_init

test_get_dayahead_hourly_demand_date_range

test_get_dayahead_hourly_demand_invalid_location

test_get_dayahead_hourly_demand_latest

test_get_fuel_mix_date_range

test_get_fuel_mix_latest

test_get_hourly_load_forecast

test_get_load_hourly_date_range

test_get_load_hourly_latest

test_get_locations

test_get_realtime_hourly_demand_date_range

test_get_realtime_hourly_demand_latest

test_get_realtime_hourly_demand_multiple_locations

test_get_reliability_region_load_forecast

test_zone_locationid_map

setup_class()[source]#
test_class_init()[source]#
test_get_dayahead_hourly_demand_date_range(date: str, end: str, locations: list[str])[source]#
test_get_dayahead_hourly_demand_invalid_location()[source]#
test_get_dayahead_hourly_demand_latest()[source]#
test_get_fuel_mix_date_range(date, end)[source]#
test_get_fuel_mix_latest()[source]#
test_get_hourly_load_forecast(date, end)[source]#
test_get_load_hourly_date_range(date, end)[source]#
test_get_load_hourly_latest()[source]#
test_get_locations()[source]#
test_get_realtime_hourly_demand_date_range(date: str, end: str, locations: list[str])[source]#
test_get_realtime_hourly_demand_latest(location: str)[source]#
test_get_realtime_hourly_demand_multiple_locations(locations: tuple[str, str])[source]#
test_get_reliability_region_load_forecast(date, end)[source]#
test_zone_locationid_map()[source]#