Skip to content

Commit

Permalink
Fix tests after rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
JoelOtter committed Oct 7, 2023
1 parent b45d1f9 commit 9aa5ae1
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion granary/tests/test_bluesky.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,10 @@
'username': 'alice.com',
'url': 'https://bsky.app/profile/alice.com',
})
POST_AUTHOR_PROFILE_AS['actor'].update({
'username': 'alice.com',
'url': 'https://bsky.app/profile/alice.com',
})
POST_AUTHOR_BSKY = copy.deepcopy(POST_VIEW_BSKY)
POST_AUTHOR_BSKY['author'] = {
**ACTOR_PROFILE_VIEW_BSKY,
Expand Down Expand Up @@ -740,7 +744,7 @@ def test_get_activities_friends(self, mock_get):

expected_repost = copy.deepcopy(REPOST_AS)
expected_repost['actor']['username'] = 'bob.com'
self.assert_equals([POST_AUTHOR_PROFILE_AS['object'], expected_repost],
self.assert_equals([POST_AUTHOR_PROFILE_AS, expected_repost],
self.bs.get_activities(group_id=FRIENDS))

mock_get.assert_called_once_with(
Expand Down

0 comments on commit 9aa5ae1

Please sign in to comment.