Skip to content

Commit

Permalink
Remove outdated Mercurial test
Browse files Browse the repository at this point in the history
  • Loading branch information
Flamefire committed Aug 2, 2021
1 parent dbaed92 commit d97ca5c
Showing 1 changed file with 0 additions and 18 deletions.
18 changes: 0 additions & 18 deletions test/framework/repository.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@
from easybuild.tools.filetools import read_file
from easybuild.tools.repository.filerepo import FileRepository
from easybuild.tools.repository.gitrepo import GitRepository
from easybuild.tools.repository.hgrepo import HgRepository
from easybuild.tools.repository.svnrepo import SvnRepository
from easybuild.tools.repository.repository import init_repository
from easybuild.tools.run import run_cmd
Expand Down Expand Up @@ -129,23 +128,6 @@ def test_svnrepo(self):
self.assertTrue(os.path.exists(os.path.join(repo.wc, 'trunk', 'README.md')))
shutil.rmtree(repo.wc)

def test_hgrepo(self):
"""Test using HgRepository."""
# only run this test if pysvn Python module is available
try:
import hglib # noqa
except ImportError:
print("(skipping HgRepository test)")
return

# GitHub also supports SVN
test_repo_url = 'https://[email protected]/kehoste/testrepository'

repo = HgRepository(test_repo_url)
repo.init()
self.assertTrue(os.path.exists(os.path.join(repo.wc, 'README')))
shutil.rmtree(repo.wc)

def test_init_repository(self):
"""Test use of init_repository function."""
repo = init_repository('FileRepository', self.path)
Expand Down

0 comments on commit d97ca5c

Please sign in to comment.