-
Notifications
You must be signed in to change notification settings - Fork 202
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
0 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|
@@ -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) | ||
|