test_mode Property
Turns test mode on and off for transactions sent to the current Gateway .
Syntax
def get_test_mode() -> bool: ... def set_test_mode(value: bool) -> None: ...
test_mode = property(get_test_mode, set_test_mode)
Default Value
FALSE
Remarks
You can use this property to set a test mode flag that will be sent in an authorization request. Not all gateways support test modes. If you set the test_mode property to True and the current gateway does not support it, the class will fails with an error.