Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Auto delete date fix testing #645

Conversation

steffenmartin
Copy link
Contributor

@steffenmartin steffenmartin commented Jun 24, 2023

@AndreyNikiforov, here's my first attempt of a comprehensive fix for this bug. I hope this is in adherence to all contributing guidelines.
Since test test_autodelete_photos inside of tests/test_autodelete_photos.py was already performed incorrectly it is somewhat difficult to perform a before-after comparison. If that's needed I suggest to first apply the follow patch to it.
image
This will make it fail in its current state. And once this PR has been merged it will pass again.

@AndreyNikiforov
Copy link
Collaborator

@steffenmartin some tests are failing - pls fix. the PR should have all tests green. If anybody decides to validate fix for the test before the fix for the code, they will have to change some files locally IMO.

…oud-photos-downloader#345

Due to the usage of local time conversions tests were sensitive to
execution on machines in a different time zones. Now using timestamp
to get beyond this issue.
@steffenmartin
Copy link
Contributor Author

@steffenmartin some tests are failing - pls fix. the PR should have all tests green. If anybody decides to validate fix for the test before the fix for the code, they will have to change some files locally IMO.

Ok, ready for a re-run.

@AndreyNikiforov AndreyNikiforov merged commit abe8624 into icloud-photos-downloader:master Jul 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants