def METHOD_NAME(self):
    super().METHOD_NAME()
    self.hostname = 'testserver'
    self.client.defaults['SERVER_NAME'] = self.hostname
    self.url_prefix = f'http://{self.hostname}'
    self.configure_lti_provider(
        name='Other Tool Consumer 1', enabled=True,
        lti_consumer_key='other1',
        lti_consumer_secret='secret1',
        lti_max_timestamp_age=10,
    )
    self.configure_lti_provider(
        name='LTI Test Tool Consumer', enabled=True,
        lti_consumer_key=LTI_CONSUMER_KEY,
        lti_consumer_secret=LTI_CONSUMER_SECRET,
        lti_max_timestamp_age=10,
    )
    self.configure_lti_provider(
        name='Tool Consumer with Secret in Settings', enabled=True,
        lti_consumer_key=OTHER_LTI_CONSUMER_KEY,
        lti_consumer_secret='',
        lti_max_timestamp_age=10,
    )
    self.lti = Client(
        client_key=LTI_CONSUMER_KEY,
        client_secret=LTI_CONSUMER_SECRET,
        signature_type=SIGNATURE_TYPE_BODY,
    )