The if (trust_ref['project_id'] and tenant_id != trust_ref['project_id']): statement is because there is a test that explicitly checks that a trust may be created without specifying a project name.
I don't see why that would be a good idea.
The if (trust_ ref['project_ id'] and tenant_id != trust_ref[ 'project_ id']): statement is because there is a test that explicitly checks that a trust may be created without specifying a project name.
I don't see why that would be a good idea.