Fixed flake8 complaint

Signed-off-by: Lars Kiesow <lkiesow@uos.de>
This commit is contained in:
Lars Kiesow 2017-03-13 21:02:38 +01:00
parent c633fd4d64
commit 688b1d53c4
No known key found for this signature in database
GPG key ID: 5DAFE8D9C823CE73

View file

@ -192,5 +192,5 @@ class TestExtensionTorrent(unittest.TestCase):
ns = {'torrent': 'http://xmlns.ezrss.it/0.1/dtd/'} ns = {'torrent': 'http://xmlns.ezrss.it/0.1/dtd/'}
root = etree.fromstring(self.fg.rss_str()) root = etree.fromstring(self.fg.rss_str())
filename = root.xpath('/rss/channel/item/torrent:filename/text()', filename = root.xpath('/rss/channel/item/torrent:filename/text()',
namespaces=ns) namespaces=ns)
assert filename == ['file.xy'] assert filename == ['file.xy']