aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiroslav Šedivý <[email protected]>2022-11-20 20:22:48 +0100
committerMiroslav Šedivý <[email protected]>2022-11-20 20:22:48 +0100
commitf04d57acbc5ef639c0dc70fde800cf5c24d0b967 (patch)
tree7fd8ad2031c281ac2a7cbc297fb20edd2fa4152e /tests/test_constructor.py
parent762861f3447698c6954016cf003758693dcc8bcc (diff)
downloadmastodon.py-f04d57acbc5ef639c0dc70fde800cf5c24d0b967.tar.gz
refactor: use is for True/False
Diffstat (limited to 'tests/test_constructor.py')
-rw-r--r--tests/test_constructor.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/test_constructor.py b/tests/test_constructor.py
index ebc9b85..d997a5d 100644
--- a/tests/test_constructor.py
+++ b/tests/test_constructor.py
@@ -33,9 +33,9 @@ def test_constructor_missing_client_secret():
33 33
34@pytest.mark.vcr() 34@pytest.mark.vcr()
35def test_verify_version(api): 35def test_verify_version(api):
36 assert api.verify_minimum_version("2.3.3") == True 36 assert api.verify_minimum_version("2.3.3") is True
37 assert api.verify_minimum_version("9999.9999.9999") == False 37 assert api.verify_minimum_version("9999.9999.9999") is False
38 assert api.verify_minimum_version("1.0.0") == True 38 assert api.verify_minimum_version("1.0.0") is True
39 39
40def test_supported_version(api): 40def test_supported_version(api):
41 assert Mastodon.get_supported_version() \ No newline at end of file 41 assert Mastodon.get_supported_version() \ No newline at end of file
Powered by cgit v1.2.3 (git 2.41.0)