Signed-off-by: Hiroshi Miura <miurahr@linux.com>
This commit is contained in:
Hiroshi Miura
2020-03-06 10:14:02 +09:00
parent b021291924
commit 6c063236ff

View File

@@ -7,8 +7,7 @@ from aqt import helper
def test_helper_altlink(monkeypatch): def test_helper_altlink(monkeypatch):
class Message: class Message:
headers = {'content-type': 'text/plain', headers = {'content-type': 'text/plain', 'length': 300}
'length': 300,}
text = '''<?xml version="1.0" encoding="UTF-8"?> text = '''<?xml version="1.0" encoding="UTF-8"?>
<metalink xmlns="urn:ietf:params:xml:ns:metalink"> <metalink xmlns="urn:ietf:params:xml:ns:metalink">
<generator>MirrorBrain/2.17.0</generator> <generator>MirrorBrain/2.17.0</generator>