void () { PsiElement element = doResolve(); assertTrue(element instanceof PyTargetExpression); PsiElement value = ((PyTargetExpression)element).findAssignedValue(); assertEquals("local", ((PyStringLiteralExpression)value).getStringValue()); }