Wmul-test-utils

Latest version: v0.4.0

Safety actively analyzes 688705 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

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)

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

0.1.0

The initial public release of the wmul_test_utils python library.

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.