'Test the create_stack_domain_project function, fallback path.'

def test_create_stack_domain_project_legacy_fallback(self):

    self._clear_domain_override()
    ctx = utils.dummy_context()
    ctx.trust_id = None
    self.patchobject(ctx, '_create_auth_plugin')
    heat_ks_client = heat_keystoneclient.KeystoneClient(ctx)
    self.assertEqual(ctx.tenant_id, heat_ks_client.create_stack_domain_project('astack'))
