8000 Add aggregation stage support by LoicAvelin · Pull Request #925 · mongomock/mongomock · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Add aggregation stage support #925

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

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

LoicAvelin
Copy link

I tried to run the full test suite with hatch test as recommended in the project documentation. However, I encountered errors in tests/test__bulk_operations.py, which I did not modify and which seem unrelated to my changes. I test with python3.13 and python3.12.

To ensure my contribution is properly tested, I focused on running the tests in tests/test__collection_api.py, which includes the new and updated tests for the $unset aggregation stage. All these tests pass with my changes.

If you need me to run other specific tests or provide more details on the errors encountered, please let me know.

Copy link
codecov bot commented Jun 25, 2025

Codecov Report

Attention: Patch coverage is 88.23529% with 2 lines in your changes missing coverage. Please review.

Project coverage is 96.06%. Comparing base (d5c0e8b) to head (aa38d73).

Files with missing lines Patch % Lines
mongomock/aggregate.py 88.23% 2 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           develop     #925      +/-   ##
===========================================
- Coverage    96.07%   96.06%   -0.02%     
===========================================
  Files           35       35              
  Lines        10118    10135      +17     
===========================================
+ Hits          9721     9736      +15     
- Misses         397      399       +2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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.

1 participant
0