Exemplo 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'
Exemplo 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'
Exemplo 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'