def setUp(self):
    'Set up things to be run when tests are started.'
    self.hass = get_test_home_assistant()
Set up things to be run when tests are started.
def setUp(self):
    
    self.hass = get_test_home_assistant()