" self.m1." +
"";
SystemPythonNature nature = new SystemPythonNature(PyCodeCompletion2Test.nature.getRelatedInterpreterManager());
PySelection ps = new PySelection(new Document(s), s.length() - 1);
ICompletionState state = new CompletionState(ps.getStartLineIndex(), ps.getAbsoluteCursorOffset()
- ps.getStartLine().getOffset(), null, nature, "");
CompletionRequest request = new CompletionRequest(null, nature, ps.getDoc(), "self.m1",
ps.getAbsoluteCursorOffset(), 0, new PyCodeCompletion(), "");
List<IToken> selfCompletions = new ArrayList<IToken>();
PyCodeCompletion.getSelfOrClsCompletions(request, selfCompletions, state, false, false, "self.m1");