def test_get_role_permissions_db(self):
        """
        Security Permissions: Get role permissions db
        """
        role = self.appbuilder.sm.find_role("DB_ROLE1")
        assert {
            ("can_show", "ModelDBView"),
            ("can_delete", "ModelDBView"),
        } == self.appbuilder.sm.get_role_permissions(role)

        Security Permissions: Get role permissions db
        
tests/test_security_permissions.py