deepset-ai / deepset-cloud-sdk

A Python SDK to interact with deepset Cloud
Apache License 2.0
9 stars 1 forks source link

Fix: mock file age in remove_duplicates test [DC-1120] #174

Closed faymarie closed 5 months ago

faymarie commented 5 months ago

Related Issues

Proposed Changes?

How did you test it?

Notes for the reviewer

After pulling the changes of https://github.com/deepset-ai/deepset-cloud-sdk/pull/173/files , the file age had changed locally on my machine and the tests failed. I made the test independent of the actual file age, so we don't rely on the actual files in the file system .

Screenshots (optional)

Checklist

swarmia[bot] commented 5 months ago

✅  Linked to Bug DC-1120 · Ingestion stuck at 99%

github-actions[bot] commented 5 months ago

Coverage report

The coverage rate went from 92.9% to 95.08% :arrow_up: The branch rate is 88%.

None of the new lines are part of the tested code. Therefore, there is no coverage data about them.