Application fully migrated to modular approach

This commit is contained in:
2025-09-13 21:30:40 +02:00
parent c7d6b33cd5
commit b9fe91ab88
38 changed files with 509 additions and 265 deletions

View File

@@ -141,7 +141,7 @@ class TestStockAPI:
data = response.json()
assert len(data) == 2
def test_stock_requires_auth(self, client):
def test_get_stock_without_auth(self, client):
"""Test that stock endpoints require authentication"""
response = client.get("/api/v1/stock")
assert response.status_code == 403
assert response.status_code == 401 # No authorization header