Commits

cboos  committed 52b19cc

tests: actually test the `internal_error` value used in several functional tests.

Remove unused `trac_error` variable.

  • Participants
  • Parent commits 9d79fad
  • Branches 0.12-stable

Comments (0)

Files changed (2)

File trac/tests/functional/__init__.py

 from trac.test import TestSetup, TestCaseSetup
 
 internal_error = 'Trac detected an internal error:'
-trac_error = 'Trac Error'
 
 trac_source_tree = os.path.normpath(os.path.join(trac.__file__, '..', '..'))
 

File trac/tests/functional/testcases.py

         url = self._tester.url + '/wiki/WikiStart'
         tc.go(url + '?version=bug')
         tc.url(url)
-        tc.find('Trac detected an internal error:')
+        tc.find(internal_error)
 
 
 class RegressionTestTicket3663(FunctionalTwillTestCaseSetup):