diff options
author | Lorenz Diener <[email protected]> | 2022-11-21 20:17:18 +0200 |
---|---|---|
committer | GitHub <[email protected]> | 2022-11-21 20:17:18 +0200 |
commit | 943782afc394f52377223fb6b777946d5b2148ff (patch) | |
tree | 7fd8ad2031c281ac2a7cbc297fb20edd2fa4152e /tests/test_instance.py | |
parent | 98760f650bcaafedead3f0b6e2b0c594ab857338 (diff) | |
parent | f04d57acbc5ef639c0dc70fde800cf5c24d0b967 (diff) | |
download | mastodon.py-943782afc394f52377223fb6b777946d5b2148ff.tar.gz |
Merge pull request #269 from eumiro/none_identity
Refactor: use is for None/True/False
Diffstat (limited to 'tests/test_instance.py')
-rw-r--r-- | tests/test_instance.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_instance.py b/tests/test_instance.py index 8f3f142..1fbd692 100644 --- a/tests/test_instance.py +++ b/tests/test_instance.py | |||
@@ -38,7 +38,7 @@ def test_emoji(api): | |||
38 | 38 | ||
39 | @pytest.mark.vcr() | 39 | @pytest.mark.vcr() |
40 | def test_health(api): | 40 | def test_health(api): |
41 | assert api.instance_health() == True | 41 | assert api.instance_health() is True |
42 | 42 | ||
43 | @pytest.mark.vcr() | 43 | @pytest.mark.vcr() |
44 | def test_server_time(api): | 44 | def test_server_time(api): |