app.engine.check_base_strategy_class module

app.engine.check_base_strategy_class.check_class_methods_and_variables(Class_to_check, debug=False)[source]

Check that a class exposes every method and variable a strategy needs.

Parameters:
  • Class_to_check – The strategy class to validate.

  • debug (bool) – When True, log which member is missing.

Returns:

boolTrue if the class has all the expected methods and variables, False otherwise.