diff --git a/tests/test_pagure_flask_ui_old_commit.py b/tests/test_pagure_flask_ui_old_commit.py
index 2023094..98b1f47 100644
--- a/tests/test_pagure_flask_ui_old_commit.py
+++ b/tests/test_pagure_flask_ui_old_commit.py
@@ -90,6 +90,10 @@ class PagureFlaskRepoOldUrltests(tests.SimplePagureTest):
'' +
' 3 + ======' in output.data)
+ self.assertTrue(
+ '+16' in output.data)
+ self.assertTrue('title="View file as of %s"' % commit.oid.hex[0:6]
+ in output.data)
# View first commit - with the old URL scheme
output = self.app.get(
@@ -182,6 +186,10 @@ class PagureFlaskRepoOldUrltests(tests.SimplePagureTest):
' 3' +
' ' +
'+ ======' in output.data)
+ self.assertTrue(
+ '+16' in output.data)
+ self.assertTrue('title="View file as of %s"' % commit.oid.hex[0:6]
+ in output.data)
# View commit of fork - With the old URL scheme
output = self.app.get(