Ejemplo n.º 1
0
def test_request_link():
    song = TinySongRequest(api_key=KEY)
    results = song.request_link('Beethoven - Moonlight Sonata')
    ok_(len(results) > 0)
Ejemplo n.º 2
0
def test_request_link():
    song = TinySongRequest(api_key=KEY)
    data = song.request_link('Zero 7 - Destiny')
    ok_(data.startswith("http://tinysong.com"))