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

def setup_method(self):

    self.url = 'https://example.com/'
    self.config = {rc.DOMAIN: {'get_test': {'url': self.url, 'method': 'get'}, 'post_test': {'url': self.url, 'method': 'post'}, 'put_test': {'url': self.url, 'method': 'put'}, 'delete_test': {'url': self.url, 'method': 'delete'}}}
    self.hass = get_test_home_assistant()
