Fix error with unicode URLs in torrent creation

Fixes https://jira.coreos.com/browse/QUAY-896
This commit is contained in:
Joseph Schorr 2018-03-26 17:07:00 -04:00
parent 49659fc3dd
commit 747819fbd2
2 changed files with 5 additions and 1 deletions

View file

@ -0,0 +1,4 @@
from util.registry.torrent import make_torrent
def test_make_torrent_unicode_url():
make_torrent('foo', unicode('bar'), 10, 20, 'hello world')