Skip to content

Feature: one shot failure

The sql attribute in mock_add_resultset is optional now. By not specifying an sql value the resultset mock is appended to the ordered list from where it will be shifted and used only once by a fetch operation. This allows to mock one-shot failures that were not possible before.

This closes #2 (closed).

Edited by Bernhard Graf

Merge request reports