# HG changeset patch # User Marcin Kuzminski # Date 1302026974 -7200 # Node ID ca614631c2f8961d8defc01d1513a684b02934a0 # Parent 3d9da7893fdbee55a781dc7ae4a576586f34600d fixed tests for stable diff -r 3d9da7893fdb -r ca614631c2f8 rhodecode/tests/functional/test_changelog.py --- a/rhodecode/tests/functional/test_changelog.py Tue Apr 05 18:51:34 2011 +0200 +++ b/rhodecode/tests/functional/test_changelog.py Tue Apr 05 20:09:34 2011 +0200 @@ -11,8 +11,8 @@ assert """
commit 154: 5e204e7583b9@2010-08-10 01:18:46
""" in response.body , 'no info on this commit' assert """Small update at simplevcs app""" in response.body, 'missing info about commit message' assert """0""" in response.body, 'wrong info about removed nodes' - assert """2""" in response.body, 'wrong info about changed nodes' - assert """1""" in response.body, 'wrong info about added nodes' + assert """2""" in response.body, 'wrong info about changed nodes' + assert """1""" in response.body, 'wrong info about added nodes' #pagination @@ -26,9 +26,9 @@ # Test response after pagination... print response.body assert """
commit 64: 46ad32a4f974@2010-04-20 00:33:21
"""in response.body, 'wrong info about commit 64' - assert """1"""in response.body, 'wrong info about number of removed' - assert """13"""in response.body, 'wrong info about number of changes' - assert """20"""in response.body, 'wrong info about number of added' + assert """1"""in response.body, 'wrong info about number of removed' + assert """13"""in response.body, 'wrong info about number of changes' + assert """20"""in response.body, 'wrong info about number of added' assert """
Merge with 2e6a2bf9356ca56df08807f4ad86d480da72a8f4
""" % HG_REPO in response.body, 'wrong info about commit 64 is a merge'