def test_url_creation():
    client = soundcloud.Client(client_id='foo')
    url = client._resolve_resource_name('tracks')
    eq_('https://api.soundcloud.com/tracks', url)
    url = client._resolve_resource_name('/tracks/')
    eq_('https://api.soundcloud.com/tracks', url)
Test that resources are turned into urls properly.
dataset/ETHPy150Open soundcloud/soundcloud-python/soundcloud/tests/test_client.py/test_url_creation