LibrePhotos / librephotos

A self-hosted open source photo management service. This is the repository of the backend.
MIT License
6.67k stars 290 forks source link

Adapt tests #1257

Closed the01 closed 1 month ago

the01 commented 1 month ago

The following tests did not work with python manage.py test and I couldn't figure out how to adapt them:

sonarcloud[bot] commented 1 month ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

derneuere commented 1 month ago

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! 😅