Fix for CLI test

This commit is contained in:
Simon Willison 2019-02-24 12:12:59 -08:00
commit 33df260b38

View file

@ -207,7 +207,7 @@ def test_add_column_error_invalid_type(db_path):
cli.cli, ["add-column", db_path, "dogs", "blah", "badtype"]
)
assert 0 != result.exit_code
assert 'Invalid value for "col_type"' in result.output
assert 'invalid choice: badtype' in result.output
def test_enable_fts(db_path):