We show a warning when playbooks aren't asserted.
(tplaybook)
| 98 | |
| 99 | |
| 100 | def test_unfinished(tplaybook): |
| 101 | """We show a warning when playbooks aren't asserted.""" |
| 102 | tplaybook >> TEvent() |
| 103 | with pytest.raises(RuntimeError, match="Unfinished playbook"): |
| 104 | tplaybook.__del__() |
| 105 | tplaybook._errored = True |
| 106 | tplaybook.__del__() |
| 107 | |
| 108 | |
| 109 | def test_command_reply(tplaybook): |