def setUp(self): # set up expected values from base client bc = BaseClient() self.MARKET_CHOICES = bc.MARKET_CHOICES self.FREQUENCY_CHOICES = bc.FREQUENCY_CHOICES # set up other expected values self.BA_CHOICES = BALANCING_AUTHORITIES.keys()
def get_authorities() -> typing.List[Authority]: """Get a list of the balancing authorities.""" return [Authority(code=code) for code in BALANCING_AUTHORITIES.keys()]