formatting
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/pr Build is passing Details

pull/9/head
Inex Code 2022-02-16 17:10:45 +03:00
parent 50a82a065e
commit 250677f97d
1 changed files with 3 additions and 3 deletions

View File

@ -505,6 +505,7 @@ def test_generate_recovery_token_with_limited_uses(
assert read_json(tokens_file)["recovery_token"]["uses_left"] == 0
def test_generate_recovery_token_with_negative_uses(
authorized_client, client, tokens_file
):
@ -516,9 +517,8 @@ def test_generate_recovery_token_with_negative_uses(
assert response.status_code == 400
assert "recovery_token" not in read_json(tokens_file)
def test_generate_recovery_token_with_zero_uses(
authorized_client, client, tokens_file
):
def test_generate_recovery_token_with_zero_uses(authorized_client, client, tokens_file):
# Generate token with limited uses
response = authorized_client.post(
"/auth/recovery_token",