# HG changeset patch # User Mads Kiilerich # Date 1520786111 -3600 # Node ID 1c56ba483b8445780714f02dce4d167ba5dc9b3b # Parent 47c8221a6169cd36472c15373df3f0df83de3413 git: additional submodule redirection test coverage diff -r 47c8221a6169 -r 1c56ba483b84 kallithea/tests/other/test_vcs_operations.py --- 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('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