Revert "tests: disable bitbucket tests because Travis-CI chooses the obsolete TLS 1.0 protocol"

This reverts commit 1da0e785db.

Trying other methods...
This commit is contained in:
lilydjwg 2018-12-05 16:38:45 +08:00
parent 5d3b5ed10c
commit eb75dc8305

View file

@ -15,8 +15,6 @@ async def test_git(get_version):
@pytest.mark.skipif(shutil.which("hg") is None,
reason="requires hg command")
@pytest.mark.skipif(os.environ.get('TRAVIS') == 'true',
reason="Travis-CI chooses the obsolete TLS 1.0 protocol")
async def test_mercurial(get_version):
os.path.exists("example") or os.mkdir("example")
assert await get_version("example", {"vcs": "hg+https://bitbucket.org/pil0t/testrepo"}) == "1.1.84679e29c7d9"