'Test whether we return the right share mode when requested in the LibtorrentDownloadImpl'

def test_get_share_mode(self):

    self.libtorrent_download_impl.handle.status().share_mode = False
    self.assertFalse(self.libtorrent_download_impl.get_share_mode())
    self.libtorrent_download_impl.handle.status().share_mode = True
    self.assertTrue(self.libtorrent_download_impl.get_share_mode())
