add test case for log_in with no log in method given
This commit is contained in:
pare
8c9dcbe871
commit
9ee84a8dcb
S'han modificat 1 arxius amb 5 adicions i 0 eliminacions
|
@ -18,6 +18,11 @@ def test_auth_request_url(api):
|
||||||
assert set(query['scope'][0].split()) == set(('read', 'write', 'follow'))
|
assert set(query['scope'][0].split()) == set(('read', 'write', 'follow'))
|
||||||
|
|
||||||
|
|
||||||
|
def test_log_in_none(api_anonymous):
|
||||||
|
with pytest.raises(MastodonIllegalArgumentError):
|
||||||
|
api_anonymous.log_in()
|
||||||
|
|
||||||
|
|
||||||
@pytest.mark.vcr()
|
@pytest.mark.vcr()
|
||||||
def test_log_in_password(api_anonymous):
|
def test_log_in_password(api_anonymous):
|
||||||
token = api_anonymous.log_in(
|
token = api_anonymous.log_in(
|
||||||
|
|
Loading…
Referencia en una nova incidència