test_ercot_api#
Module Contents#
Classes Summary#
Contents#
- class gridstatus.tests.test_ercot_api.TestErcotAPI[source]#
Bases:
gridstatus.tests.base_test_iso.TestHelperMixinAttributes
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
test_get_hourly_resource_outage_capacity_historical_date_rangeFirst we test that entering a bad endpoint results in a keyerror