test_ercot_api

Contents

test_ercot_api#

Module Contents#

Classes Summary#

TestErcotAPI

Contents#

class gridstatus.tests.test_ercot_api.TestErcotAPI[source]#

Bases: gridstatus.tests.base_test_iso.TestHelperMixin

Attributes

expected_shadow_prices_dam_columns

[‘Interval Start’, ‘Interval End’, ‘Constraint ID’, ‘Constraint Name’, ‘Contingency Name’, ‘Limiting Facility’, ‘Constraint Limit’, ‘Constraint Value’, ‘Violation Amount’, ‘Shadow Price’, ‘From Station’, ‘To Station’, ‘From Station kV’, ‘To Station kV’]

expected_shadow_prices_sced_columns

[‘Interval Start’, ‘Interval End’, ‘SCED Timestamp’, ‘Constraint ID’, ‘Constraint Name’, ‘Contingency Name’, ‘Limiting Facility’, ‘Shadow Price’, ‘Max Shadow Price’, ‘Limit’, ‘Value’, ‘Violated MW’, ‘From Station’, ‘To Station’, ‘From Station kV’, ‘To Station kV’, ‘CCT Status’]

Methods

setup_class

test_get_as_plan_before_ecrs

test_get_as_plan_historical_date

test_get_as_plan_historical_date_range

test_get_as_plan_today_or_latest

test_get_as_prices_historical_date

test_get_as_prices_historical_date_range

test_get_as_prices_today_or_latest

test_get_as_reports_historical_date

test_get_as_reports_historical_date_range

test_get_as_reports_today_or_latest_raises_error

test_get_endpoints_map

test_get_historical_data

test_get_hourly_resource_outage_capacity_historical_date

test_get_hourly_resource_outage_capacity_historical_date_range

test_get_hourly_resource_outage_capacity_today_or_latest

test_get_hourly_solar_report_historical_date_range

test_get_hourly_solar_report_latest

test_get_hourly_solar_report_today

test_get_hourly_wind_report_historical_date_range

test_get_hourly_wind_report_latest

test_get_hourly_wind_report_today

test_get_lmp_by_bus_dam_historical

test_get_lmp_by_bus_dam_historical_range

test_get_lmp_by_bus_dam_today_and_latest

test_get_lmp_by_bus_historical_date

test_get_lmp_by_bus_historical_date_range

test_get_lmp_by_bus_latest

test_get_lmp_by_bus_today

test_get_lmp_by_settlement_point_historical_date

test_get_lmp_by_settlement_point_historical_date_range

test_get_lmp_by_settlement_point_today_or_latest

test_get_shadow_prices_dam_historical

test_get_shadow_prices_dam_historical_range

test_get_shadow_prices_dam_today_and_latest

test_get_shadow_prices_sced_historical

test_get_shadow_prices_sced_historical_range

test_get_shadow_prices_sced_today_and_latest

test_get_spp_day_ahead_hourly_historical_date_range

test_get_spp_real_time_15_min_historical_date_range

test_handle_end_date

test_hit_ercot_api

First we test that entering a bad endpoint results in a keyerror

classmethod setup_class()[source]#
test_get_as_plan_before_ecrs()[source]#
test_get_as_plan_historical_date()[source]#
test_get_as_plan_historical_date_range()[source]#
test_get_as_plan_today_or_latest()[source]#
test_get_as_prices_historical_date()[source]#
test_get_as_prices_historical_date_range()[source]#
test_get_as_prices_today_or_latest()[source]#
test_get_as_reports_historical_date()[source]#
test_get_as_reports_historical_date_range()[source]#
test_get_as_reports_today_or_latest_raises_error()[source]#
test_get_endpoints_map()[source]#
test_get_historical_data()[source]#
test_get_hourly_resource_outage_capacity_historical_date()[source]#
test_get_hourly_resource_outage_capacity_historical_date_range()[source]#
test_get_hourly_resource_outage_capacity_today_or_latest()[source]#
test_get_hourly_solar_report_historical_date_range()[source]#
test_get_hourly_solar_report_latest()[source]#
test_get_hourly_solar_report_today()[source]#
test_get_hourly_wind_report_historical_date_range()[source]#
test_get_hourly_wind_report_latest()[source]#
test_get_hourly_wind_report_today()[source]#
test_get_lmp_by_bus_dam_historical()[source]#
test_get_lmp_by_bus_dam_historical_range()[source]#
test_get_lmp_by_bus_dam_today_and_latest()[source]#
test_get_lmp_by_bus_historical_date()[source]#
test_get_lmp_by_bus_historical_date_range()[source]#
test_get_lmp_by_bus_latest()[source]#
test_get_lmp_by_bus_today()[source]#
test_get_lmp_by_settlement_point_historical_date()[source]#
test_get_lmp_by_settlement_point_historical_date_range()[source]#
test_get_lmp_by_settlement_point_today_or_latest()[source]#
test_get_shadow_prices_dam_historical()[source]#
test_get_shadow_prices_dam_historical_range()[source]#
test_get_shadow_prices_dam_today_and_latest()[source]#
test_get_shadow_prices_sced_historical()[source]#
test_get_shadow_prices_sced_historical_range()[source]#
test_get_shadow_prices_sced_today_and_latest()[source]#
test_get_spp_day_ahead_hourly_historical_date_range()[source]#
test_get_spp_real_time_15_min_historical_date_range()[source]#
test_handle_end_date()[source]#
test_hit_ercot_api()[source]#

First we test that entering a bad endpoint results in a keyerror