mirror of
https://github.com/lilydjwg/nvchecker
synced 2025-02-05 13:02:37 +00:00
tests: disable bitbucket tests because Travis-CI chooses the obsolete TLS 1.0 protocol
This commit is contained in:
parent
6c6aff99b1
commit
1da0e785db
@ -15,6 +15,8 @@ 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"
|
||||
|
Loading…
Reference in New Issue
Block a user