[suboob] attila favicon&test, suboob manpage
This commit is contained in:
parent
95d4f67630
commit
9a9d399503
3 changed files with 234 additions and 1 deletions
BIN
modules/attilasub/favicon.png
Normal file
BIN
modules/attilasub/favicon.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 3.3 KiB |
|
|
@ -28,9 +28,10 @@ class AttilasubTest(BackendTest):
|
|||
|
||||
def test_subtitle(self):
|
||||
subtitles = list(self.backend.iter_subtitles('spiderman'))
|
||||
assert (len(subtitles) > 0)
|
||||
for subtitle in subtitles:
|
||||
path, qs = urllib.splitquery(subtitle.url)
|
||||
#assert path.endswith('.torrent')
|
||||
assert path.endswith('.rar')
|
||||
|
||||
# get the file of a random sub
|
||||
if len(subtitles):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue