'Setup things to be run when tests are started.'

def setup_method(self):

    self.hass = get_test_home_assistant()
    self.config_province = {'binary_sensor': {'platform': 'workday', 'country': 'DE', 'province': 'BW'}}
    self.config_noprovince = {'binary_sensor': {'platform': 'workday', 'country': 'DE'}}
    self.config_invalidprovince = {'binary_sensor': {'platform': 'workday', 'country': 'DE', 'province': 'invalid'}}
    self.config_state = {'binary_sensor': {'platform': 'workday', 'country': 'US', 'province': 'CA'}}
    self.config_nostate = {'binary_sensor': {'platform': 'workday', 'country': 'US'}}
    self.config_includeholiday = {'binary_sensor': {'platform': 'workday', 'country': 'DE', 'province': 'BW', 'workdays': ['holiday'], 'excludes': ['sat', 'sun']}}
