aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiroslav Šedivý <[email protected]>2022-11-20 20:14:25 +0100
committerMiroslav Šedivý <[email protected]>2022-11-20 20:14:25 +0100
commit762861f3447698c6954016cf003758693dcc8bcc (patch)
treea43554b51e631bc62aa622fb0cf422d372303caa /tests/test_media.py
parent98760f650bcaafedead3f0b6e2b0c594ab857338 (diff)
downloadmastodon.py-762861f3447698c6954016cf003758693dcc8bcc.tar.gz
refactor: use is for None
Diffstat (limited to 'tests/test_media.py')
-rw-r--r--tests/test_media.py2
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',
Powered by cgit v1.2.3 (git 2.41.0)