tribler.test_unit.core.libtorrent.mocks
Attributes
Torrent structure: |
|
Torrent structure: |
Classes
A convenience TorrentDef with near-empty atp. |
Module Contents
- tribler.test_unit.core.libtorrent.mocks.TORRENT_WITH_DIRS_CONTENT = b'd7:comment16:Test description10:created by27:Tribler version: 7.10.0-GIT13:creation...
- tribler.test_unit.core.libtorrent.mocks.TORRENT_WITH_VIDEO = b'd4:infod6:lengthi10e4:name13:somevideo.mp412:piece...
- tribler.test_unit.core.libtorrent.mocks.TORRENT_WITH_DIRS
Torrent structure:
> [Directory] torrent_create > > [Directory] abc > > > [File] file2.txt (6 bytes) > > > [File] file3.txt (6 bytes) > > > [File] file4.txt (6 bytes) > > [Directory] def > > > [File] file5.txt (6 bytes) > > > [File] file6.avi (6 bytes) > > [File] file1.txt (6 bytes)
- tribler.test_unit.core.libtorrent.mocks.TORRENT_UBUNTU_FILE_CONTENT = b'd8:announce39:http://torrent.ubuntu.com:6969/announce13:announce-listll39:http://torrent.ubuntu...
- tribler.test_unit.core.libtorrent.mocks.TORRENT_UBUNTU_FILE_CONTENT_V2 = b'd8:announce39:http://torrent.ubuntu.com:6969/announce13:announce-listll39:http://torrent.ubuntu...
- tribler.test_unit.core.libtorrent.mocks.TORRENT_UBUNTU_FILE
Torrent structure:
> [File] ubuntu-15.04-desktop-amd64.iso (1150844928 bytes)
- class tribler.test_unit.core.libtorrent.mocks.FakeTDef(name: str = 'test', info_hash: bytes = b'\x01' * 20, url: str = '')
Bases:
tribler.core.libtorrent.torrentdef.TorrentDefA convenience TorrentDef with near-empty atp.