• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
Keine Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

allura


Commit MetaInfo

Revision887dc5563b87a4dd88d8b074e48216d0e6b52eef (tree)
Zeit2011-04-06 04:26:06
AutorRick Copeland <rcopeland@geek...>
CommiterRick Copeland

Log Message

[#1884] Fix test

Signed-off-by: Rick Copeland <rcopeland@geek.net>

Ändern Zusammenfassung

Diff

--- a/Allura/allura/tests/functional/test_auth.py
+++ b/Allura/allura/tests/functional/test_auth.py
@@ -24,11 +24,11 @@ class TestAuth(TestController):
2424 r = self.app.post('/auth/do_login', params=dict(
2525 username='test-user', password='foo'))
2626 r = self.app.post('/auth/do_login', params=dict(
27- username='test-user', password='food'),
28- status=302)
27+ username='test-user', password='food'))
28+ assert 'Invalid login' in str(r), r.showbrowser()
2929 r = self.app.post('/auth/do_login', params=dict(
30- username='test-usera', password='foo'),
31- status=302)
30+ username='test-usera', password='foo'))
31+ assert 'Invalid login' in str(r), r.showbrowser()
3232
3333 def test_prefs(self):
3434 r = self.app.get('/auth/prefs/')