diff rhodecode/tests/functional/test_journal.py @ 3159:4910b2607a29 beta

fixes issue #658, my account edit was missing this functionality
author Marcin Kuzminski <marcin@python-works.com>
date Thu, 10 Jan 2013 23:09:17 +0100
parents 25029d6f4b47
children d7488551578e
line wrap: on
line diff
--- a/rhodecode/tests/functional/test_journal.py	Thu Jan 10 20:39:22 2013 +0100
+++ b/rhodecode/tests/functional/test_journal.py	Thu Jan 10 23:09:17 2013 +0100
@@ -10,10 +10,7 @@
         self.log_user()
         response = self.app.get(url(controller='journal', action='index'))
 
-        # Test response...
-        assert """ <span id="follow_toggle_1" class="following" title="Stop following this repository""" in response.body, 'no info about stop follwoing repo id 1'
-
-        assert """<div class="journal_day">%s</div>""" % datetime.date.today() in response.body, 'no info about action journal day'
+        response.mustcontain("""<div class="journal_day">%s</div>""" % datetime.date.today())
 
     def test_stop_following_repository(self):
         session = self.log_user()