Skip to content

Commit d97ca5c

Browse files
committed
Remove outdated Mercurial test
1 parent dbaed92 commit d97ca5c

File tree

1 file changed

+0
-18
lines changed

1 file changed

+0
-18
lines changed

test/framework/repository.py

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@
4141
from easybuild.tools.filetools import read_file
4242
from easybuild.tools.repository.filerepo import FileRepository
4343
from easybuild.tools.repository.gitrepo import GitRepository
44-
from easybuild.tools.repository.hgrepo import HgRepository
4544
from easybuild.tools.repository.svnrepo import SvnRepository
4645
from easybuild.tools.repository.repository import init_repository
4746
from easybuild.tools.run import run_cmd
@@ -129,23 +128,6 @@ def test_svnrepo(self):
129128
self.assertTrue(os.path.exists(os.path.join(repo.wc, 'trunk', 'README.md')))
130129
shutil.rmtree(repo.wc)
131130

132-
def test_hgrepo(self):
133-
"""Test using HgRepository."""
134-
# only run this test if pysvn Python module is available
135-
try:
136-
import hglib # noqa
137-
except ImportError:
138-
print("(skipping HgRepository test)")
139-
return
140-
141-
# GitHub also supports SVN
142-
test_repo_url = 'https://[email protected]/kehoste/testrepository'
143-
144-
repo = HgRepository(test_repo_url)
145-
repo.init()
146-
self.assertTrue(os.path.exists(os.path.join(repo.wc, 'README')))
147-
shutil.rmtree(repo.wc)
148-
149131
def test_init_repository(self):
150132
"""Test use of init_repository function."""
151133
repo = init_repository('FileRepository', self.path)

0 commit comments

Comments
 (0)