diff --git a/granary/tests/test_rss.py b/granary/tests/test_rss.py
index 86beb2c2..e2578ae4 100644
--- a/granary/tests/test_rss.py
+++ b/granary/tests/test_rss.py
@@ -101,14 +101,13 @@ def test_from_as1_missing_objectType_verb(self):
self.assert_multiline_in("""
-
-- (Alice)
+alice@example.com (Alice)
-
a thing I wrote
http://read/this
--
http://read/this
""", rss.from_as1([{
@@ -119,6 +118,7 @@ def test_from_as1_missing_objectType_verb(self):
'displayName': 'Alice',
'url': 'http://it/me',
'image': 'http://my/pic.jpg',
+ 'email': 'alice@example.com',
},
},
}, {
@@ -203,16 +203,18 @@ def test_author(self):
'author': {
'objectType':'person',
'displayName':'Mrs. Baz',
+ 'email': 'baz@example.com',
},
}], feed_url='http://this')
- self.assert_multiline_in('- (Mrs. Baz)', got)
+ self.assert_multiline_in('baz@example.com (Mrs. Baz)', got)
def test_author_string_id(self):
got = rss.from_as1([{
'content': 'foo bar',
'author': 'tag:bob',
+ 'email': 'bob@example.com',
}], feed_url='http://this')
- self.assert_multiline_in('- (tag:bob)', got)
+ self.assert_multiline_in('bob@example.com (tag:bob)', got)
def test_order(self):
got = rss.from_as1([
diff --git a/granary/tests/testdata/feed_with_audio_video.rss.xml b/granary/tests/testdata/feed_with_audio_video.rss.xml
index ff35bd7a..1347ec33 100644
--- a/granary/tests/testdata/feed_with_audio_video.rss.xml
+++ b/granary/tests/testdata/feed_with_audio_video.rss.xml
@@ -24,7 +24,6 @@
some HTML
]]>
- -
http://podcast/post
a tag
@@ -38,7 +37,6 @@
]]>
- -
http://vidjo/post
Tue, 04 Dec 2012 00:00:00 +0000
diff --git a/granary/tests/testdata/feed_with_note.rss.xml b/granary/tests/testdata/feed_with_note.rss.xml
index ae0e145a..0060b168 100644
--- a/granary/tests/testdata/feed_with_note.rss.xml
+++ b/granary/tests/testdata/feed_with_note.rss.xml
@@ -28,7 +28,6 @@
]]>
- -
http://a/note
Tue, 04 Dec 2012 00:00:00 +0000