Fixed flake8 complaint
Signed-off-by: Lars Kiesow <lkiesow@uos.de>
This commit is contained in:
parent
c633fd4d64
commit
688b1d53c4
1 changed files with 1 additions and 1 deletions
|
@ -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']
|
||||||
|
|
Loading…
Reference in a new issue