Releases: MikeTheHammer/wmul_test_utils
Releases · MikeTheHammer/wmul_test_utils
v.0.3.1
Added generate_true_false_matrix_from_list_of_strings
A convenience function. It takes a string name and a list of strings, and
returns the true-false matrix built from those values.
generate_true_false_matrix_from_list_of_strings(
"burger_toppings",
["with_cheese", "with_ketchup", "with_mustard"]
)
is the equivalent of
burger_toppings = namedtuple(
"burger_toppings",
["with_cheese", "with_ketchup", "with_mustard"]
)
generate_true_false_matrix_from_namedtuple(burger_toppings)
v.0.2.0
Changes in this release:
Added assert_has_only_these_calls that takes a unittest.mock and a set of calls and checks that all of those calls, and only those calls are present in the mock.
Added a length check to generate_true_false_matrix_from_namedtuple to make certain that there is at least one field in the namedtuple.
Added README.md
Updated setup.py.
Added pythonproject.toml
v0.1.0
The initial public release of the wmul_test_utils python library.