'Test that you can intermix inherited and implied roles.'

def test_role_assignments_inherited_implied_roles(self):

    test_plan = {'entities': {'domains': {'users': 1, 'projects': 1}, 'roles': 4}, 'implied_roles': [{'role': 0, 'implied_roles': 1}], 'assignments': [{'user': 0, 'role': 0, 'domain': 0, 'inherited_to_projects': True}], 'tests': [{'params': {'user': 0}, 'results': [{'user': 0, 'role': 0, 'domain': 0, 'inherited_to_projects': 'projects'}]}, {'params': {'user': 0, 'effective': True}, 'results': [{'user': 0, 'role': 0, 'project': 0, 'indirect': {'domain': 0}}, {'user': 0, 'role': 1, 'project': 0, 'indirect': {'domain': 0, 'role': 0}}]}]}
    self.execute_assignment_plan(test_plan)
