Add snake_case assertion functions and standalone assertions functions.

Review Request #11933 — Created Jan. 18, 2022 and submitted

Information

kgb
master

Reviewers

kgb

SpyAgency now has snake_case versions of all the assertion functions,
which is more compliant with most functions in Python, outside of the
unittest assertion functions.

This is largely to help kgb feel more natural in testing environments
not based on unittest (like pytest).

Each assert_* function is also available as standalone functions in
the kgb.asserts module, allowing use without needing to explicitly
create or mix in a SpyAgency.

Unit tests pass for all supported versions of Python.

Summary ID
Add snake_case assertion functions and standalone assertions functions.
`SpyAgency` now has snake_case versions of all the assertion functions, which is more compliant with most functions in Python, outside of the `unittest` assertion functions. This is largely to help kgb feel more natural in testing environments not based on `unittest` (like pytest). Each `assert_*` function is also available as standalone functions in the `kgb.asserts` module, allowing use without needing to explicitly create or mix in a `SpyAgency`.
6377b1afe3342b844fbc1715d8a099de9cf17c13
david
  1. Ship It!
  2. 
      
chipx86
david
  1. Ship It!
  2. 
      
chipx86
Review request changed
Status:
Completed
Change Summary:
Pushed to master (cb94500)