diff options
author | Miroslav Šedivý <[email protected]> | 2022-11-20 20:14:25 +0100 |
---|---|---|
committer | Miroslav Šedivý <[email protected]> | 2022-11-20 20:14:25 +0100 |
commit | 762861f3447698c6954016cf003758693dcc8bcc (patch) | |
tree | a43554b51e631bc62aa622fb0cf422d372303caa /tests/test_media.py | |
parent | 98760f650bcaafedead3f0b6e2b0c594ab857338 (diff) | |
download | mastodon.py-762861f3447698c6954016cf003758693dcc8bcc.tar.gz |
refactor: use is for None
Diffstat (limited to 'tests/test_media.py')
-rw-r--r-- | tests/test_media.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_media.py b/tests/test_media.py index 7a358dd..9668f59 100644 --- a/tests/test_media.py +++ b/tests/test_media.py | |||
@@ -45,7 +45,7 @@ def test_media_post(api, sensitive): | |||
45 | time.sleep(10) | 45 | time.sleep(10) |
46 | media2 = api.media(media) | 46 | media2 = api.media(media) |
47 | assert media2.id == media.id | 47 | assert media2.id == media.id |
48 | assert not media2.url is None | 48 | assert media2.url is not None |
49 | 49 | ||
50 | status = api.status_post( | 50 | status = api.status_post( |
51 | 'LOL check this out', | 51 | 'LOL check this out', |