1. Ronny Pfannschmidt
  2. rope-qickfix


Ronny Pfannschmidt  committed a6454cb

extend the defined later error tests with checking for the additional metadata

  • Participants
  • Parent commits 7e43f8e
  • Branches errors

Comments (0)

Files changed (1)

File ropetest/contrib/finderrorstest.py

View file
  • Ignore whitespace
         result = finderrors.find_errors(self.project, self.mod)
         self.assertEquals(1, len(result))
         self.assertEquals(1, result[0].lineno)
+        self.assertEquals(2, result[0].args['line'])
+        self.assertEquals('var is defined later in line 2', result[0].error)
     def test_ignoring_builtins(self):