comparison rhodecode/tests/functional/test_summary.py @ 1818:cf51bbfb120e beta

auto white-space removal
author Marcin Kuzminski <marcin@python-works.com>
date Thu, 29 Dec 2011 07:35:51 +0200
parents a8c66e870bd0
children b7adbd5456c2
comparison
equal deleted inserted replaced
1817:523b1011a625 1818:cf51bbfb120e
7 7
8 def test_index(self): 8 def test_index(self):
9 self.log_user() 9 self.log_user()
10 ID = Repository.get_by_repo_name(HG_REPO).repo_id 10 ID = Repository.get_by_repo_name(HG_REPO).repo_id
11 response = self.app.get(url(controller='summary', 11 response = self.app.get(url(controller='summary',
12 action='index', 12 action='index',
13 repo_name=HG_REPO)) 13 repo_name=HG_REPO))
14 14
15 #repo type 15 #repo type
16 response.mustcontain("""<img style="margin-bottom:2px" class="icon" """ 16 response.mustcontain("""<img style="margin-bottom:2px" class="icon" """
17 """title="Mercurial repository" alt="Mercurial """ 17 """title="Mercurial repository" alt="Mercurial """
42 42
43 def test_index_by_id(self): 43 def test_index_by_id(self):
44 self.log_user() 44 self.log_user()
45 ID = Repository.get_by_repo_name(HG_REPO).repo_id 45 ID = Repository.get_by_repo_name(HG_REPO).repo_id
46 response = self.app.get(url(controller='summary', 46 response = self.app.get(url(controller='summary',
47 action='index', 47 action='index',
48 repo_name='_%s' % ID)) 48 repo_name='_%s' % ID))
49 49
50 #repo type 50 #repo type
51 response.mustcontain("""<img style="margin-bottom:2px" class="icon" """ 51 response.mustcontain("""<img style="margin-bottom:2px" class="icon" """
52 """title="Mercurial repository" alt="Mercurial """ 52 """title="Mercurial repository" alt="Mercurial """