diff --git a/tests/api/test_statements_post.py b/tests/api/test_statements_post.py index 6207df2fb..fe3e63691 100644 --- a/tests/api/test_statements_post.py +++ b/tests/api/test_statements_post.py @@ -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 diff --git a/tests/api/test_statements_put.py b/tests/api/test_statements_put.py index 96fdb1fb1..ae30b2b73 100644 --- a/tests/api/test_statements_put.py +++ b/tests/api/test_statements_put.py @@ -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