public void testSearch6() throws Exception {
//from testlib.unittest import testcase as t
String line = "class AnotherTest(t.TestCase):";
// "from " < -- that's the cursor pos
final File file = new File(TestDependent.TEST_PYSRC_LOC + "testlib/unittest/anothertest.py");
RefactoringRequest refactoringRequest = createRefactoringRequest(line, file);
refactoringRequest.ps = new PySelection(refactoringRequest.getDoc(), 2, line.length() - 5);
ItemPointer[] pointers = refactorer.findDefinition(refactoringRequest);
assertEquals(1, pointers.length);
assertEquals(new File(TestDependent.TEST_PYSRC_LOC + "testlib/unittest/testcase.py"), pointers[0].file);