void () { runPythonTest(new PyDebuggerTask("/debug", "test4.py") { @Override public void before() { toggleBreakpoint(getScriptName(), 3); } @Override public void testing() throws Exception { waitForPause(); List<PydevCompletionVariant> list = myDebugProcess.getCompletions("xvalu"); assertEquals(2, list.size()); } }); }