'Testing whether the right vod file index is returned in LibtorrentDownloadImpl'

def test_get_vod_fileindex(self):

    self.libtorrent_download_impl.vod_index = None
    self.assertEqual(self.libtorrent_download_impl.get_vod_fileindex(), (-1))
    self.libtorrent_download_impl.vod_index = 42
    self.assertEqual(self.libtorrent_download_impl.get_vod_fileindex(), 42)
