Esempio n. 1
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/somechannel'
    test_url_auth = 'https://*****:*****@conda.anaconda.org/somechannel'
    assert build.sanitize_channel(
        test_url_auth) == 'https://conda.anaconda.org/somechannel'
Esempio n. 2
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'
Esempio n. 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'