コード例 #1
0
ファイル: test_build.py プロジェクト: t-bltg/conda-build
def test_sanitize_channel():
    test_url = 'https://conda.anaconda.org/t/ms-534991f2-4123-473a-b512-42025291b927/somechannel'
    assert build.sanitize_channel(
        test_url) == 'https://conda.anaconda.org/somechannel'
    test_url_auth = 'https://*****:*****@conda.anaconda.org/somechannel'
    assert build.sanitize_channel(
        test_url_auth) == 'https://conda.anaconda.org/somechannel'
コード例 #2
0
ファイル: test_build.py プロジェクト: patanijo/conda-build
def test_sanitize_channel():
    test_url = 'https://conda.anaconda.org/t/ms-534991f2-4123-473a-b512-42025291b927/somechannel'
    assert build.sanitize_channel(test_url) == 'https://conda.anaconda.org/t/<TOKEN>/somechannel'
コード例 #3
0
def test_sanitize_channel():
    test_url = 'https://conda.anaconda.org/t/ms-534991f2-4123-473a-b512-42025291b927/somechannel'
    assert build.sanitize_channel(test_url) == 'https://conda.anaconda.org/t/<TOKEN>/somechannel'