kopia lustrzana https://github.com/snarfed/bridgy-fed
update test for snarfed/granary@882426a9de
rodzic
c7eedcd8e5
commit
f4a86dcb82
|
@ -273,13 +273,13 @@ class ObjectTest(testutil.TestCase):
|
||||||
('href="">', {}),
|
('href="">', {}),
|
||||||
('href="http://foo">foo', {'actor': 'http://foo'}),
|
('href="http://foo">foo', {'actor': 'http://foo'}),
|
||||||
('href="">Alice', {'actor': {'name': 'Alice'}}),
|
('href="">Alice', {'actor': {'name': 'Alice'}}),
|
||||||
('href="http://foo">Alice', {'actor': {
|
('href="http://foo/">Alice', {'actor': {
|
||||||
'name': 'Alice',
|
'name': 'Alice',
|
||||||
'url': 'http://foo',
|
'url': 'http://foo',
|
||||||
}}),
|
}}),
|
||||||
("""\
|
("""\
|
||||||
title="Alice">
|
title="Alice">
|
||||||
<img class="profile" src="http://pic" />
|
<img class="profile" src="http://pic/" />
|
||||||
Alice""", {'actor': {
|
Alice""", {'actor': {
|
||||||
'name': 'Alice',
|
'name': 'Alice',
|
||||||
'icon': {'type': 'Image', 'url': 'http://pic'},
|
'icon': {'type': 'Image', 'url': 'http://pic'},
|
||||||
|
|
Ładowanie…
Reference in New Issue