[Pydev-cvs] org.python.pydev/tests_completions/org/python/pydev/editor/codecompletion PythonComple
Brought to you by:
fabioz
From: Fabio Z. <fa...@us...> - 2008-05-10 00:45:24
|
Update of /cvsroot/pydev/org.python.pydev/tests_completions/org/python/pydev/editor/codecompletion In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27110/tests_completions/org/python/pydev/editor/codecompletion Modified Files: PythonCompletionWithoutBuiltinsTest.java Log Message: <strong>Code-completion</strong>: Working for attributes found in a superclass imported with a relative import bug: http://sourceforge.net/tracker/index.php?func=detail&aid=1961017&group_id=85796&atid=577329 Index: PythonCompletionWithoutBuiltinsTest.java =================================================================== RCS file: /cvsroot/pydev/org.python.pydev/tests_completions/org/python/pydev/editor/codecompletion/PythonCompletionWithoutBuiltinsTest.java,v retrieving revision 1.19 retrieving revision 1.20 diff -C2 -d -r1.19 -r1.20 *** PythonCompletionWithoutBuiltinsTest.java 2 May 2008 13:42:01 -0000 1.19 --- PythonCompletionWithoutBuiltinsTest.java 10 May 2008 00:45:30 -0000 1.20 *************** *** 41,45 **** PythonCompletionWithoutBuiltinsTest test = new PythonCompletionWithoutBuiltinsTest(); test.setUp(); ! // test.testImportMultipleFromImport2(); test.tearDown(); System.out.println("Finished"); --- 41,45 ---- PythonCompletionWithoutBuiltinsTest test = new PythonCompletionWithoutBuiltinsTest(); test.setUp(); ! test.testRelativeImportWithSubclass(); test.tearDown(); System.out.println("Finished"); *************** *** 461,464 **** --- 461,470 ---- } + public void testRelativeImportWithSubclass() throws FileNotFoundException, CoreException, BadLocationException{ + String file = TestDependent.TEST_PYSRC_LOC+"extendable/relative_with_sub/bb.py"; + String strDoc = REF.getFileContents(new File(file)); + requestCompl(new File(file), strDoc, strDoc.length(), -1, new String[]{"yyy()"}); + } + public void testWildImportRecursive() throws BadLocationException, IOException, Exception{ String s; |