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

ref(tests): remove ApproxDict #3380 #3388

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

czyber
Copy link
Contributor

@czyber czyber commented Aug 1, 2024

This commit removes ApproxDict in favour of a more explicit assertion style.

Closes #3380


Thank you for contributing to sentry-python! Please add tests to validate your changes, and lint your code using tox -e linters.

Running the test suite on your PR might require maintainer approval. The AWS Lambda tests additionally require a maintainer to add a special label, and they will fail until this label is added.

This commit removes `ApproxDict` in favor of a more explicit assertion style.

Closes getsentry#3380
@czyber czyber marked this pull request as draft August 1, 2024 08:11
@czyber
Copy link
Contributor Author

czyber commented Aug 1, 2024

Still have to fix some assertions (which werent picked up by the regex)

@szokeasaurusrex
Copy link
Member

Thanks for picking this up at @czyber! Happy to review once the PR is ready

Copy link

codecov bot commented Aug 1, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 79.63%. Comparing base (2c1e31c) to head (7dd8d29).

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #3388      +/-   ##
==========================================
- Coverage   79.71%   79.63%   -0.08%     
==========================================
  Files         132      132              
  Lines       14264    14264              
  Branches     3003     3003              
==========================================
- Hits        11370    11359      -11     
- Misses       2071     2088      +17     
+ Partials      823      817       -6     

see 7 files with indirect coverage changes

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.

(tests) Move away from ApproxDict
2 participants