aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_create_app.py')
-rw-r--r--tests/test_create_app.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/test_create_app.py b/tests/test_create_app.py
index 8745b47..67318e9 100644
--- a/tests/test_create_app.py
+++ b/tests/test_create_app.py
@@ -40,3 +40,9 @@ def test_create_app_website(mocker):
40 test_create_app(mocker, website='http://example.net') 40 test_create_app(mocker, website='http://example.net')
41 kwargs = requests.post.call_args[1] 41 kwargs = requests.post.call_args[1]
42 assert kwargs['data']['website'] == 'http://example.net' 42 assert kwargs['data']['website'] == 'http://example.net'
43
44@pytest.mark.vcr()
45def test_app_verify_credentials(api):
46 app = api.app_verify_credentials()
47 assert app
48 assert app.name == 'Mastodon.py test suite'
Powered by cgit v1.2.3 (git 2.41.0)