ManifoldMarketManager.test.test_rule

ManifoldMarketManager.test.test_rule.rule_name(request: PytestRequest[str]) str[source]

Return the name of an existing rule.

ManifoldMarketManager.test.test_rule.test_import_rule(rule_name: str) None[source]

Make sure this function can import any existing rule.

ManifoldMarketManager.test.test_rule.test_import_rule_failure() None[source]

Make sure this function can’t import arbitrary objects.

ManifoldMarketManager.test.test_rule.test_rule_formatting() None[source]

Make sure that Rule does formatting if requested.

ManifoldMarketManager.test.test_rule.test_rule_from_dict(rule_name: str) None[source]

Make sure that if __init__ doesn’t require arguments, from_dict() also does not.