aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLorenz Diener <[email protected]>2022-11-21 20:17:18 +0200
committerGitHub <[email protected]>2022-11-21 20:17:18 +0200
commit943782afc394f52377223fb6b777946d5b2148ff (patch)
tree7fd8ad2031c281ac2a7cbc297fb20edd2fa4152e /tests/test_timeline.py
parent98760f650bcaafedead3f0b6e2b0c594ab857338 (diff)
parentf04d57acbc5ef639c0dc70fde800cf5c24d0b967 (diff)
downloadmastodon.py-943782afc394f52377223fb6b777946d5b2148ff.tar.gz
Merge pull request #269 from eumiro/none_identity
Refactor: use is for None/True/False
Diffstat (limited to 'tests/test_timeline.py')
-rw-r--r--tests/test_timeline.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_timeline.py b/tests/test_timeline.py
index bc6728f..239fac3 100644
--- a/tests/test_timeline.py
+++ b/tests/test_timeline.py
@@ -60,8 +60,8 @@ def test_conversations(api, api2):
60 assert conversations 60 assert conversations
61 assert status.id in map(lambda x: x.last_status.id, conversations) 61 assert status.id in map(lambda x: x.last_status.id, conversations)
62 assert account.id in map(lambda x: x.accounts[0].id, conversations) 62 assert account.id in map(lambda x: x.accounts[0].id, conversations)
63 assert conversations[0].unread == True 63 assert conversations[0].unread is True
64 assert conversations2[0].unread == False 64 assert conversations2[0].unread is False
65 65
66@pytest.mark.vcr() 66@pytest.mark.vcr()
67def test_min_max_id(api, status): 67def test_min_max_id(api, status):
Powered by cgit v1.2.3 (git 2.41.0)