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

gh-100690: Prevent prefix "called_" for attributes of safe mock objects #100691

Merged
merged 6 commits into from
Jan 6, 2023

Commits on Jan 3, 2023

  1. Prevent calling assert functions without the prefix "assert_" in safe…

    … mode
    
    Raise an AttributeError when calling e.g. `mock_obj.called_once` instead of
    `mock_obj.assert_called_once`.
    cklein committed Jan 3, 2023
    Configuration menu
    Copy the full SHA
    154012f View commit details
    Browse the repository at this point in the history

Commits on Jan 5, 2023

  1. Configuration menu
    Copy the full SHA
    26dc793 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2bd97a1 View commit details
    Browse the repository at this point in the history

Commits on Jan 6, 2023

  1. Changed documentation

    cklein committed Jan 6, 2023
    Configuration menu
    Copy the full SHA
    01946cb View commit details
    Browse the repository at this point in the history
  2. Reformatted NEWS

    cklein committed Jan 6, 2023
    Configuration menu
    Copy the full SHA
    e9b8f73 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    674f5bc View commit details
    Browse the repository at this point in the history