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: 'called_once' is not a valid assertion. #123

Merged
merged 1 commit into from
Jun 13, 2024
Merged

Conversation

hoh
Copy link
Member

@hoh hoh commented Jun 10, 2024

AttributeError: 'called_once' is not a valid assertion. Use a spec for the mock if 'called_once' is meant to be an attribute.

AttributeError: 'called_once' is not a valid assertion. Use a spec for the mock if 'called_once' is meant to be an attribute.
@hoh hoh requested a review from philogicae June 10, 2024 16:34
Copy link

codecov bot commented Jun 10, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 84.17%. Comparing base (0c0cfea) to head (5a6372f).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #123   +/-   ##
=======================================
  Coverage   84.17%   84.17%           
=======================================
  Files          27       27           
  Lines        1131     1131           
  Branches      188      188           
=======================================
  Hits          952      952           
  Misses        176      176           
  Partials        3        3           

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

@aleph-im aleph-im deleted a comment from github-actions bot Jun 13, 2024
Copy link
Collaborator

@1yam 1yam left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@1yam 1yam merged commit 02490d1 into main Jun 13, 2024
13 checks passed
@Psycojoker Psycojoker deleted the hoh-fix-pytest-assert branch July 24, 2024 15:30
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