From 33df260b38e1b0f179cdb849fc4e3e9c76e57f3a Mon Sep 17 00:00:00 2001 From: Simon Willison Date: Sun, 24 Feb 2019 12:12:59 -0800 Subject: [PATCH] Fix for CLI test --- tests/test_cli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_cli.py b/tests/test_cli.py index 6791fcb..40eeb09 100644 --- a/tests/test_cli.py +++ b/tests/test_cli.py @@ -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):