def test_get_user_permissions_db(self):
        """
        Security Permissions: Get user permissions DB role type
        """
        assert {
            ("can_delete", "ModelDBView"),
            ("can_show", "ModelDBView"),
        } == self.appbuilder.sm.get_user_permissions(self._user02)

        Security Permissions: Get user permissions DB role type
        
tests/test_security_permissions.py