Author: rjollos
Date: Fri Nov 15 03:54:37 2013
New Revision: 1542165

URL: http://svn.apache.org/r1542165
Log:
0.8dev: After `RegressionTestRev5785`, the user remained logged out, so any 
functional tests executed after it would fail if they expected a logged-in user.

Since !AccountManagerPlugin is used in the test environment, we must use the 
`login` method that accounts for the forms-based login.

Modified:
    bloodhound/trunk/bloodhound_multiproduct/tests/functional/prefs.py

Modified: bloodhound/trunk/bloodhound_multiproduct/tests/functional/prefs.py
URL: 
http://svn.apache.org/viewvc/bloodhound/trunk/bloodhound_multiproduct/tests/functional/prefs.py?rev=1542165&r1=1542164&r2=1542165&view=diff
==============================================================================
--- bloodhound/trunk/bloodhound_multiproduct/tests/functional/prefs.py 
(original)
+++ bloodhound/trunk/bloodhound_multiproduct/tests/functional/prefs.py Fri Nov 
15 03:54:37 2013
@@ -18,7 +18,7 @@
 #  under the License.
 
 from trac.tests import functional
-from trac.tests.functional.tester import internal_error, tc
+from trac.tests.functional.tester import tc
 
 #----------------
 # Functional test cases for preferences (rewritten) 
@@ -60,9 +60,8 @@ class RegressionTestRev5785(functional.F
         # [BLOODHOUND] Preferences link removed
         tc.follow('/prefs')
         tc.url(prefs_url)
-        tc.follow('Logout')
-        tc.notfind(internal_error) # See [5785]
-        tc.follow('Login')
+        self._tester.logout()
+        self._tester.login('admin')
 
 
 class RegressionTestTicket5765(functional.FunctionalTwillTestCaseSetup):


Reply via email to