mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
formatting
This commit is contained in:
parent
6a5cc61adc
commit
39a9c123a2
@ -48,9 +48,11 @@ def find_tests():
|
|||||||
self.assertEqual(etree.fromstring(templ.format(id='SYSTEM', val=external)).text, 'external')
|
self.assertEqual(etree.fromstring(templ.format(id='SYSTEM', val=external)).text, 'external')
|
||||||
for eid, val, expected in (
|
for eid, val, expected in (
|
||||||
('', 'normal entity', 'normal entity'),
|
('', 'normal entity', 'normal entity'),
|
||||||
|
('', external, external),
|
||||||
|
|
||||||
('SYSTEM', external, None),
|
('SYSTEM', external, None),
|
||||||
('SYSTEM', 'http://example.com', None),
|
('SYSTEM', 'http://example.com', None),
|
||||||
('', external, external),
|
|
||||||
('PUBLIC', external, None),
|
('PUBLIC', external, None),
|
||||||
('PUBLIC', 'http://example.com', None),
|
('PUBLIC', 'http://example.com', None),
|
||||||
):
|
):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user