From af208882f533ab6467dfaab9066d66b6a57a0887 Mon Sep 17 00:00:00 2001 From: Lukas Date: Fri, 6 Feb 2026 18:33:37 +0100 Subject: [PATCH] Fix linting: replace pass with pytest.skip in placeholder tests --- tests/security/test_auth_security.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tests/security/test_auth_security.py b/tests/security/test_auth_security.py index 6feec6e..81dc13d 100644 --- a/tests/security/test_auth_security.py +++ b/tests/security/test_auth_security.py @@ -252,18 +252,20 @@ class TestSessionSecurity: assert initial_session != new_session @pytest.mark.asyncio + @pytest.mark.skip(reason="Requires session management implementation") async def test_concurrent_session_limit(self, client): """Test that users cannot have unlimited concurrent sessions.""" # This would require creating multiple sessions # Placeholder for the test - pass + pytest.skip("Session concurrency limits not implemented") @pytest.mark.asyncio + @pytest.mark.skip(reason="Requires time manipulation or async wait") async def test_session_timeout(self, client): """Test that sessions expire after inactivity.""" # Would need to manipulate time or wait # Placeholder showing the security principle - pass + pytest.skip("Session timeout testing not implemented") @pytest.mark.security