void () { runPythonTest(new PyConsoleTask("/debug") { @Override public void testing() throws Exception { exec(""" class Bar: @property def prop(self): x = 238 print(x + 1) return "bar" \s """); exec("bar = Bar()"); exec("print(\"Hey\")"); waitForOutput("Hey"); List<PydevCompletionVariant> completions = getCompletions("bar."); assertFalse("Completion variants list is empty", completions.isEmpty()); // Just to make sure that output is updated exec("print('Hello')"); waitForOutput("Hello"); PydevCompletionVariant compVariant = findCompletionVariantByName(completions, "prop"); assertNotNull("Completion variant `prop` is missing", compVariant); assertEquals(3, compVariant.getType()); String currentOutput = output(); assertFalse("Property was called for completion", currentOutput.contains("239")); } @Override public @NotNull Set<String> getTags() { return ImmutableSet.of("-python3.8", "-python3.9", "-python3.10", "-python3.11", "-python3.12"); } }); }