Added unit test

This commit is contained in:
rinpatch 2018-04-27 15:36:15 +03:00
parent e3bd2670d7
commit dcc9fdb47f
No known key found for this signature in database
GPG key ID: DBBBD402C68A98DA
2 changed files with 68 additions and 1 deletions

View file

@ -63,7 +63,7 @@ def response(resp):
filesize = get_torrent_size(filesize, filesize_multiplier)
except:
pass
# I didn't add download/seed/leech count since as I figured out they are generated randowmly everytime
# I didn't add download/seed/leech count since as I figured out they are generated randomly everytime
content = 'Category: "{category}".'
content = content.format(category=category)