Skip to content

Releases: MikeTheHammer/wmul_test_utils

v.0.3.1

17 Jan 16:16
Compare
Choose a tag to compare

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

12 Jan 17:45
Compare
Choose a tag to compare

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

10 May 17:56
Compare
Choose a tag to compare

The initial public release of the wmul_test_utils python library.