test: add regression for unexpected migration prompt failure
ISSUES CLOSED: #7503
This commit is contained in:
@@ -23,6 +23,11 @@ Feature: TDD Issue #7503 — migration_runner _default_prompt_for_migration must
|
||||
When the default migration prompt raises an EOFError while prompting
|
||||
Then the default prompt should reject migration after the EOF failure
|
||||
|
||||
Scenario: Prompt failure due to unexpected exception rejects migration
|
||||
Given a migration runner configured for "sqlite:///:memory:"
|
||||
When the default migration prompt raises an unexpected exception while prompting
|
||||
Then the default prompt should reject migration after the unexpected failure
|
||||
|
||||
Scenario: Non-interactive environment rejects migration by default
|
||||
Given a migration runner configured for "sqlite:///:memory:"
|
||||
When I evaluate the default migration prompt in a non-interactive environment
|
||||
|
||||
Reference in New Issue
Block a user