File tree Expand file tree Collapse file tree 1 file changed +0
-18
lines changed Expand file tree Collapse file tree 1 file changed +0
-18
lines changed Original file line number Diff line number Diff line change 4141from easybuild .tools .filetools import read_file
4242from easybuild .tools .repository .filerepo import FileRepository
4343from easybuild .tools .repository .gitrepo import GitRepository
44- from easybuild .tools .repository .hgrepo import HgRepository
4544from easybuild .tools .repository .svnrepo import SvnRepository
4645from easybuild .tools .repository .repository import init_repository
4746from 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 )
You can’t perform that action at this time.
0 commit comments