# HG changeset patch # User Mads Kiilerich # Date 2018-03-11 17:35:11 # Node ID 1c56ba483b8445780714f02dce4d167ba5dc9b3b # Parent 47c8221a6169cd36472c15373df3f0df83de3413 git: additional submodule redirection test coverage diff --git a/kallithea/tests/other/test_vcs_operations.py b/kallithea/tests/other/test_vcs_operations.py --- a/kallithea/tests/other/test_vcs_operations.py +++ b/kallithea/tests/other/test_vcs_operations.py @@ -690,3 +690,10 @@ class TestVCSOperations(TestController): 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