def test_get_acls(self):
        """Test that get_acls() returns the correct ACLs"""
        self.user1.link_to_acl(self.group1, roles.Role.OWNER)
        self.group1.link_to_acl(self.entity1, roles.Role.OWNER)
        self.entity1.get_acls()
        self.assertEqual(len(self.entity1._acls), 2)
        self.assertIn(self.group1.name, self.entity1._acls)
        self.assertIn(self.user1.username, self.entity1._acls)
Test that get_acls() returns the correct ACLs
tests/schemas/rbac.py