Skip to content

Commit

Permalink
test_bluesky: fix overridden test method
Browse files Browse the repository at this point in the history
  • Loading branch information
snarfed committed Oct 3, 2023
1 parent 0ccc041 commit f210ee6
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions granary/tests/test_bluesky.py
Original file line number Diff line number Diff line change
Expand Up @@ -621,9 +621,13 @@ def test_to_as1_unknown_type(self):
to_as1({'$type': 'app.bsky.foo'})

def test_to_as1_embed(self):
self.assert_equals(POST_AS_EMBED, to_as1(POST_BSKY_EMBED))
self.assert_equals(trim_nulls({
**POST_AS_EMBED,
'id': None,
'url': None,
}), to_as1(POST_BSKY_EMBED))

def test_to_as1_embed(self):
def test_to_as1_embed_post_view(self):
self.assert_equals(POST_AS_EMBED, to_as1(POST_VIEW_BSKY_EMBED))

def test_to_as1_embed_block(self):
Expand Down

0 comments on commit f210ee6

Please sign in to comment.