toil.test.lib.test_history¶
Attributes¶
Classes¶
Tests for Toil history tracking. |
Module Contents¶
- toil.test.lib.test_history.logger¶
- class toil.test.lib.test_history.TestHistory¶
Tests for Toil history tracking.
Each test gets its own history database.
- private_history_manager(tmp_path, monkeypatch)¶
- Parameters:
tmp_path (pathlib.Path)
monkeypatch (pytest.MonkeyPatch)
- Return type:
- test_history_submittable_detection()¶
Make sure that a submittable workflow shows up as such before submission and doesn’t afterward.
- Return type:
None
- test_history_deletion()¶
- Return type:
None
- test_history_size_limit()¶
Make sure the database size can be controlled.
- Return type:
None
- test_history_workflow_creation_is_idempotent()¶
Make sure record_workflow_creation can be called more than once for the same workflow without error, and only reports creating the record the first time.
- Return type:
None
- test_history_attempt_after_restart_backfill()¶
Make sure that recording a workflow attempt works even when this history database never saw the workflow’s creation, as long as the workflow is recorded first, as Toil now does on every restart and not just the first attempt.
- Return type:
None