Mercurial > kallithea
comparison rhodecode/tests/functional/test_files.py @ 2451:402a96fcfa22 beta
Added vcs testsuite for better integration tests + added fetching
of two new repos into test env for rhodecode
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Wed, 13 Jun 2012 23:27:33 +0200 |
parents | 86aa4f1f130b |
children | 01f5633ee68b |
comparison
equal
deleted
inserted
replaced
2450:26193dba1f0e | 2451:402a96fcfa22 |
---|---|
184 <option value="eb3a60fc964309c1a318b8dfe26aa2d1586c85ae">0.1.1</option> | 184 <option value="eb3a60fc964309c1a318b8dfe26aa2d1586c85ae">0.1.1</option> |
185 </optgroup>""") | 185 </optgroup>""") |
186 | 186 |
187 response.mustcontain("""<span style="text-transform: uppercase;"><a href="#">branch: default</a></span>""") | 187 response.mustcontain("""<span style="text-transform: uppercase;"><a href="#">branch: default</a></span>""") |
188 | 188 |
189 def test_file_annotation_git(self): | |
190 self.log_user() | |
191 response = self.app.get(url(controller='files', action='index', | |
192 repo_name=GIT_REPO, | |
193 revision='master', | |
194 f_path='vcs/nodes.py', | |
195 annotate=True)) | |
196 | |
189 def test_archival(self): | 197 def test_archival(self): |
190 self.log_user() | 198 self.log_user() |
191 | 199 |
192 for arch_ext, info in ARCHIVE_SPECS.items(): | 200 for arch_ext, info in ARCHIVE_SPECS.items(): |
193 short = '27cd5cce30c9%s' % arch_ext | 201 short = '27cd5cce30c9%s' % arch_ext |