##// END OF EJS Templates
fixed way of creating notification template for better translations
fixed way of creating notification template for better translations

File last commit:

r2776:63e58ef8 merge default
r2993:716550e1 beta
Show More
test_changelog.py
70 lines | 3.0 KiB | text/x-python | PythonLexer
renamed project to rhodecode
r547 from rhodecode.tests import *
test fixes for latest changes
r1895
renamed project to rhodecode
r547 class TestChangelogController(TestController):
Tests rewrite for 1.2 added some globals configs to make tests easier....
r688 def test_index_hg(self):
renamed project to rhodecode
r547 self.log_user()
removed users_group controller in replace for model methods,...
r1436 response = self.app.get(url(controller='changelog', action='index',
repo_name=HG_REPO))
Tests rewrite for 1.2 added some globals configs to make tests easier....
r688
test fixes for latest changes
r1895 response.mustcontain("""<div id="chg_20" class="container tablerow1">""")
response.mustcontain(
fixed few test failures
r2515 """<input class="changeset_range" """
"""id="5e204e7583b9c8e7b93a020bd036564b1e731dae" """
"""name="5e204e7583b9c8e7b93a020bd036564b1e731dae" """
"""type="checkbox" value="1" />"""
test fixes for latest changes
r1895 )
response.mustcontain(
"""<span class="changeset_id">154:"""
"""<span class="changeset_hash">5e204e7583b9</span></span>"""
)
fixes timezone issues with tests
r1707
test fixes for latest changes
r1895 response.mustcontain("""Small update at simplevcs app""")
removed users_group controller in replace for model methods,...
r1436
test fixes for latest changes
r1895 response.mustcontain(
fixed tests
r2745 """<div id="changed_total_5e204e7583b9c8e7b93a020bd036564b1e731dae" """
test fixes for latest changes
r1895 """style="float:right;" class="changed_total tooltip" """
"""title="Affected number of files, click to show """
"""more details">3</div>"""
)
Tests rewrite for 1.2 added some globals configs to make tests easier....
r688
fixed whoosh failure on new repository...
r567 #pagination
removed users_group controller in replace for model methods,...
r1436 response = self.app.get(url(controller='changelog', action='index',
fixed few test failures
r2515 repo_name=HG_REPO), {'page': 1})
removed users_group controller in replace for model methods,...
r1436 response = self.app.get(url(controller='changelog', action='index',
fixed few test failures
r2515 repo_name=HG_REPO), {'page': 2})
removed users_group controller in replace for model methods,...
r1436 response = self.app.get(url(controller='changelog', action='index',
fixed few test failures
r2515 repo_name=HG_REPO), {'page': 3})
removed users_group controller in replace for model methods,...
r1436 response = self.app.get(url(controller='changelog', action='index',
fixed few test failures
r2515 repo_name=HG_REPO), {'page': 4})
removed users_group controller in replace for model methods,...
r1436 response = self.app.get(url(controller='changelog', action='index',
fixed few test failures
r2515 repo_name=HG_REPO), {'page': 5})
removed users_group controller in replace for model methods,...
r1436 response = self.app.get(url(controller='changelog', action='index',
fixed few test failures
r2515 repo_name=HG_REPO), {'page': 6})
Tests rewrite for 1.2 added some globals configs to make tests easier....
r688
test fixes for latest changes
r1895 # Test response after pagination...
response.mustcontain(
fixed few test failures
r2515 """<input class="changeset_range" """
"""id="46ad32a4f974e45472a898c6b0acb600320579b1" """
"""name="46ad32a4f974e45472a898c6b0acb600320579b1" """
"""type="checkbox" value="1" />"""
test fixes for latest changes
r1895 )
response.mustcontain(
"""<span class="changeset_id">64:"""
"""<span class="changeset_hash">46ad32a4f974</span></span>"""
)
fixed tests
r1021
test fixes for latest changes
r1895 response.mustcontain(
fixed tests
r2745 """<div id="changed_total_46ad32a4f974e45472a898c6b0acb600320579b1" """
test fixes for latest changes
r1895 """style="float:right;" class="changed_total tooltip" """
"""title="Affected number of files, click to show """
"""more details">21</div>"""
)
removed users_group controller in replace for model methods,...
r1436
fixed changelog test
r1942 response.mustcontain(
"""<a href="/%s/changeset/"""
"""46ad32a4f974e45472a898c6b0acb600320579b1" """
"""title="Merge with 2e6a2bf9356ca56df08807f4ad86d480da72a8f4">"""
"""46ad32a4f974</a>""" % HG_REPO
)