Commit fd6c84d5 authored by Michal Čihař's avatar Michal Čihař

Check for mercurial support before using it

Signed-off-by: default avatarMichal Čihař <michal@cihar.com>
parent 492c091a
......@@ -71,6 +71,8 @@ class MultiRepoTest(ViewTestCase):
repo = self.git_repo_path
push = self.git_repo_path
else:
if not HgRepository.is_supported():
raise SkipTest('Mercurial not available!')
repo = self.hg_repo_path
push = self.hg_repo_path
self.subproject2 = SubProject.objects.create(
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment