'Tests metainfo/magnet_btih plugin'

def test_magnet_infohash(self, execute_task):

    task = execute_task(u'test_magnet')
    assert (task.all_entries[0][u'torrent_info_hash'] == u'2A8959BED2BE495BB0E3EA96F497D873D5FAED05')
    assert (task.all_entries[1][u'torrent_info_hash'] == u'2B3959BED2BE445BB0E3EA96F497D873D5FAED05')
    assert (task.all_entries[2][u'torrent_info_hash'] == u'B45BFCCFCD5301E94AF8500B1A1863415346A91A')
