mirror of
https://github.com/ihabunek/toot.git
synced 2024-09-29 04:35:54 -04:00
Add tests for reading dates
This commit is contained in:
parent
6a22e2345b
commit
b344bb3bdb
@ -122,6 +122,7 @@ def test_timeline(mock_get, monkeypatch, capsys):
|
|||||||
'id': '111111111111111111',
|
'id': '111111111111111111',
|
||||||
'account': {
|
'account': {
|
||||||
'display_name': 'Frank Zappa 🎸',
|
'display_name': 'Frank Zappa 🎸',
|
||||||
|
'last_status_at': '2017-04-12T15:53:18.174Z',
|
||||||
'acct': 'fz'
|
'acct': 'fz'
|
||||||
},
|
},
|
||||||
'created_at': '2017-04-12T15:53:18.174Z',
|
'created_at': '2017-04-12T15:53:18.174Z',
|
||||||
@ -164,6 +165,7 @@ def test_timeline_with_re(mock_get, monkeypatch, capsys):
|
|||||||
'created_at': '2017-04-12T15:53:18.174Z',
|
'created_at': '2017-04-12T15:53:18.174Z',
|
||||||
'account': {
|
'account': {
|
||||||
'display_name': 'Johnny Cash',
|
'display_name': 'Johnny Cash',
|
||||||
|
'last_status_at': '2011-04-12',
|
||||||
'acct': 'jc'
|
'acct': 'jc'
|
||||||
},
|
},
|
||||||
'content': "<p>The computer can't tell you the emotional story. It can give you the exact mathematical design, but what's missing is the eyebrows.</p>",
|
'content': "<p>The computer can't tell you the emotional story. It can give you the exact mathematical design, but what's missing is the eyebrows.</p>",
|
||||||
|
Loading…
Reference in New Issue
Block a user