diff options
-rw-r--r-- | tests/test_auth.py | 5 |
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 | ||
21 | def 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() |
22 | def test_log_in_password(api_anonymous): | 27 | def test_log_in_password(api_anonymous): |
23 | token = api_anonymous.log_in( | 28 | token = api_anonymous.log_in( |