Closed the01 closed 1 month ago
Issues
0 New issues
0 Accepted issues
Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code
Thanks for diving into the tests! 😊 As you can see, they're still quite basic and don't yet run on pull request or merge.
Typically, I run the tests within the container. You can find where the services are called here and they can be started with a Django command.
Not entirely sure why test_photo_summary.py is failing, but I'll look into it! 😅
logger = logging.getLogger(__name__)
and to include the logger name in the log message; the change supports both variants)shared
->val_shared
(not sure, but since the FE also uses val_shared, I assume this is correct)llm_settings
The following tests did not work with
python manage.py test
and I couldn't figure out how to adapt them:PhotoSummaryViewTest
(reverse("photo-summary",..)
fails as there is no endpoint)ReadFacesFromPhotosTest.test_reading_from_photo
(inget_face_encodings()
it tries to connect tohttp://localhost:8005/face-encodings
, but the tests do not start this endpoint - maybe this should be mocked)