Mercurial > kallithea
changeset 7198:1c56ba483b84
git: additional submodule redirection test coverage
author | Mads Kiilerich <mads@kiilerich.com> |
---|---|
date | Sun, 11 Mar 2018 17:35:11 +0100 |
parents | 47c8221a6169 |
children | 0bec9f92745a |
files | kallithea/tests/other/test_vcs_operations.py |
diffstat | 1 files changed, 7 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/kallithea/tests/other/test_vcs_operations.py Mon Nov 20 23:18:38 2017 +0100 +++ b/kallithea/tests/other/test_vcs_operations.py Sun Mar 11 17:35:11 2018 +0100 @@ -690,3 +690,10 @@ f_path='/')) # BUG: the link to testsubmodule doesn't work - it should probably point at the submodule URL response.mustcontain('<a class="submodule-dir ypjax-link" href="testsubmodule"><i class="icon-file-submodule"></i><span>testsubmodule @ ') + + # check that following a submodule link actually works - and redirects + response = self.app.get(url(controller='files', action='index', + repo_name=fork_name, + revision='tip', + f_path='/testsubmodule'), + status=500) # BUG