aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/test_auth.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/test_auth.py b/tests/test_auth.py
index 0ad4b08..2b27d5b 100644
--- a/tests/test_auth.py
+++ b/tests/test_auth.py
@@ -18,6 +18,11 @@ def test_auth_request_url(api):
18 assert set(query['scope'][0].split()) == set(('read', 'write', 'follow')) 18 assert set(query['scope'][0].split()) == set(('read', 'write', 'follow'))
19 19
20 20
21def test_log_in_none(api_anonymous):
22 with pytest.raises(MastodonIllegalArgumentError):
23 api_anonymous.log_in()
24
25
21@pytest.mark.vcr() 26@pytest.mark.vcr()
22def test_log_in_password(api_anonymous): 27def test_log_in_password(api_anonymous):
23 token = api_anonymous.log_in( 28 token = api_anonymous.log_in(
Powered by cgit v1.2.3 (git 2.41.0)