mirror of
https://github.com/ihabunek/toot.git
synced 2024-11-03 04:17:21 -05:00
Fix tests
This commit is contained in:
parent
92810459c7
commit
096664b9dc
@ -528,14 +528,14 @@ def test_notifications(mock_get, capsys):
|
||||
"",
|
||||
"ID 111111111111111111 ",
|
||||
"─" * width,
|
||||
"Zappa Old Fan @fan9@zappa-fans.social favourited your status",
|
||||
"Terry Bozzio @terry@bozzio.social reblogged your status",
|
||||
"Zappa Fan @fan123@zappa-fans.social 1983-11-04 15:53",
|
||||
"",
|
||||
"The Black Page, a masterpiece",
|
||||
"",
|
||||
"ID 1234 ",
|
||||
"─" * width,
|
||||
"Terry Bozzio @terry@bozzio.social reblogged your status",
|
||||
"Zappa Old Fan @fan9@zappa-fans.social favourited your status",
|
||||
"Zappa Fan @fan123@zappa-fans.social 1983-11-04 15:53",
|
||||
"",
|
||||
"The Black Page, a masterpiece",
|
||||
@ -545,6 +545,7 @@ def test_notifications(mock_get, capsys):
|
||||
"",
|
||||
])
|
||||
|
||||
|
||||
@mock.patch('toot.http.get')
|
||||
def test_notifications_empty(mock_get, capsys):
|
||||
mock_get.return_value = MockResponse([])
|
||||
|
Loading…
Reference in New Issue
Block a user