Skip to content

Commit

Permalink
fix typo in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Leobouloc committed Oct 24, 2023
1 parent 401db9e commit 361a143
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/api/test_statements_post.py
Original file line number Diff line number Diff line change
Expand Up @@ -645,7 +645,7 @@ async def test_api_statements_post_list_with_forwarding(
def test_api_statements_post_scopes(
monkeypatch, fs, es, auth_method, scopes, is_authorized
):
"""Test that getting statements behaves properly according to user scopes."""
"""Test that posting statements behaves properly according to user scopes."""
# pylint: disable=invalid-name,unused-argument
monkeypatch.setattr(
"ralph.api.routers.statements.settings.LRS_RESTRICT_BY_SCOPES", True
Expand Down
2 changes: 1 addition & 1 deletion tests/api/test_statements_put.py
Original file line number Diff line number Diff line change
Expand Up @@ -544,7 +544,7 @@ async def test_api_statements_put_with_forwarding(
def test_api_statements_put_scopes(
monkeypatch, fs, es, auth_method, scopes, is_authorized
):
"""Test that getting statements behaves properly according to user scopes."""
"""Test that putting statements behaves properly according to user scopes."""
# pylint: disable=invalid-name,unused-argument,duplicate-code
monkeypatch.setattr(
"ralph.api.routers.statements.settings.LRS_RESTRICT_BY_SCOPES", True
Expand Down

0 comments on commit 361a143

Please sign in to comment.