diff --git a/setup.py b/setup.py index 8e556fba..85c935a5 100644 --- a/setup.py +++ b/setup.py @@ -36,7 +36,7 @@ setup( package_data={"datasette": ["templates/*.html"]}, include_package_data=True, install_requires=[ - "click~=7.0", + "click~=7.1.1", "click-default-group~=1.2.2", "Jinja2~=2.10.3", "hupper~=1.9", diff --git a/tests/test_publish_cloudrun.py b/tests/test_publish_cloudrun.py index 272dd68e..efac7bbe 100644 --- a/tests/test_publish_cloudrun.py +++ b/tests/test_publish_cloudrun.py @@ -22,7 +22,7 @@ def test_publish_cloudrun_invalid_database(mock_which): runner = CliRunner() result = runner.invoke(cli.cli, ["publish", "cloudrun", "woop.db"]) assert result.exit_code == 2 - assert 'Path "woop.db" does not exist' in result.output + assert "Path 'woop.db' does not exist" in result.output @mock.patch("shutil.which") diff --git a/tests/test_publish_heroku.py b/tests/test_publish_heroku.py index 87386e93..a6238162 100644 --- a/tests/test_publish_heroku.py +++ b/tests/test_publish_heroku.py @@ -39,7 +39,7 @@ def test_publish_heroku_invalid_database(mock_which): runner = CliRunner() result = runner.invoke(cli.cli, ["publish", "heroku", "woop.db"]) assert result.exit_code == 2 - assert 'Path "woop.db" does not exist' in result.output + assert "Path 'woop.db' does not exist" in result.output @mock.patch("shutil.which") diff --git a/tests/test_publish_now.py b/tests/test_publish_now.py index 27fd1245..532fc50e 100644 --- a/tests/test_publish_now.py +++ b/tests/test_publish_now.py @@ -22,7 +22,7 @@ def test_publish_now_invalid_database(mock_which): runner = CliRunner() result = runner.invoke(cli.cli, ["publish", "nowv1", "woop.db"]) assert result.exit_code == 2 - assert 'Path "woop.db" does not exist' in result.output + assert "Path 'woop.db' does not exist" in result.output @mock.patch("shutil.which")