refact: clean code and update doc

This commit is contained in:
2025-08-09 21:49:09 +02:00
parent ac2762218e
commit 4f8ab0925b
18 changed files with 4050 additions and 3275 deletions

View File

@@ -179,7 +179,7 @@ class TestClassesRoutes:
"""Test class details route with non-existent class uses repository correctly"""
with app.app_context():
with patch('routes.classes.ClassRepository') as mock_repo_class:
with patch('flask.abort') as mock_abort:
with patch('routes.classes.abort') as mock_abort:
mock_repo = MagicMock()
mock_repo_class.return_value = mock_repo
mock_repo.find_with_full_details.return_value = None