def test_get_user_permissions_with_group_mix_roles(self):
        """
        Security Permissions: Get user permissions group with mixed roles
        """
        assert {
            ("can_list", "Model1View"),
            ("can_list", "Model2View"),
            ("can_show", "ModelDBView"),
            ("can_delete", "ModelDBView"),
        } == self.appbuilder.sm.get_user_permissions(self._user_group_mix_roles)

        Security Permissions: Get user permissions group with mixed roles
        
tests/test_security_permissions.py