plainbox.impl.testing_utils – plainbox specific test tools¶
Warning
THIS MODULE DOES NOT HAVE STABLE PUBLIC API
-
plainbox.impl.testing_utils.MockJobDefinition(id, *args, **kwargs)[source]¶ Mock for JobDefinition class
-
plainbox.impl.testing_utils.make_io_log(io_log, io_log_dir)[source]¶ Make the io logs serialization to json and return the saved file pathname WARNING: The caller has to remove the file once done with it!
-
plainbox.impl.testing_utils.make_job(id, plugin='dummy', requires=None, depends=None, **kwargs)[source]¶ Make and return a dummy JobDefinition instance