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 Jul 28, 2021
1 parent dbaed92 commit 3acb6a5
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions test/framework/repository.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,23 +129,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://kehoste@bitbucket.org/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 3acb6a5

Please sign in to comment.