""")
+ response.mustcontain(
+ """
"""
+ )
+ response.mustcontain(
+ """
154:"""
+ """5e204e7583b9"""
+ )
- self.assertTrue("""Small update at simplevcs app""" in response.body)
-
+ response.mustcontain("""Small update at simplevcs app""")
- self.assertTrue("""
3""" in response.body)
+ response.mustcontain(
+ """
3
"""
+ )
#pagination
response = self.app.get(url(controller='changelog', action='index',
@@ -37,19 +41,24 @@ class TestChangelogController(TestContro
response = self.app.get(url(controller='changelog', action='index',
repo_name=HG_REPO), {'page':6})
+ # Test response after pagination...
+ response.mustcontain(
+ """
"""
+ )
+ response.mustcontain(
+ """
64:"""
+ """46ad32a4f974"""
+ )
- # Test response after pagination...
- self.assertTrue("""
"""
- in response.body)
- self.assertTrue("""
commit 64: 46ad32a4f974@2010-04-19"""
- """ 22:33:21"""in response.body)
+ response.mustcontain(
+ """
21
"""
+ )
- self.assertTrue("""
21"""in response.body)
- self.assertTrue("""
""" % HG_REPO in response.body)
+ """0da72a8f4