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

fix: tests using has_calls instead of assert_has_calls #3775

Merged
merged 1 commit into from
Apr 16, 2024

Conversation

matthewelwell
Copy link
Contributor

Thanks for submitting a PR! Please check the boxes below:

  • I have run pre-commit to check linting
  • I have added information to docs/ if required so people know about the feature!
  • I have filled in the "Changes" section below?
  • I have filled in the "How did you test this code" section below?
  • I have used a Conventional Commit title for this Pull Request

Changes

Update tests to correctly use assert_has_calls instead of has_calls (which does nothing).

How did you test this code?

Ran the updated unit tests and confirmed they passed.

@matthewelwell matthewelwell requested review from a team and zachaysan and removed request for a team April 16, 2024 11:31
Copy link

vercel bot commented Apr 16, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 16, 2024 11:33am
flagsmith-frontend-preview ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 16, 2024 11:33am
flagsmith-frontend-staging ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 16, 2024 11:33am

Copy link
Contributor

github-actions bot commented Apr 16, 2024

Uffizzi Preview deployment-50232 was deleted.

@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 95.91%. Comparing base (37312b2) to head (c76df3d).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #3775   +/-   ##
=======================================
  Coverage   95.91%   95.91%           
=======================================
  Files        1102     1102           
  Lines       34782    34782           
=======================================
  Hits        33362    33362           
  Misses       1420     1420           

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

@matthewelwell matthewelwell added this pull request to the merge queue Apr 16, 2024
Merged via the queue into main with commit b019a35 Apr 16, 2024
23 checks passed
@matthewelwell matthewelwell deleted the fix/fix-broken-tests branch April 16, 2024 12:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api Issue related to the REST API
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants