Skip to content

Releases

v0.6.0

Choose a tag to compare

@MikeTheHammer MikeTheHammer released this 23 May 18:49

Drop support for Python 3.8.

Add random_case_string and multiple_random_case_strings.

random_case_string will take an input string and generate a new string from it with the case randomized.

multiple_random_case_strings will take an input string, and an optional number of iterations, and return a list of
strings with the case randomized. (By calling random_case_string multiple times.)

v.0.3.1

Choose a tag to compare

@MikeTheHammer MikeTheHammer released this 17 Jan 16:16

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

Choose a tag to compare

@MikeTheHammer MikeTheHammer released this 12 Jan 17:45

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

Choose a tag to compare

@MikeTheHammer MikeTheHammer released this 10 May 17:56

The initial public release of the wmul_test_utils python library.