mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
Bump to click 7.1.1 to fix flaky tests
This commit is contained in:
parent
3d656f4b31
commit
e1a817411a
4 changed files with 4 additions and 4 deletions
2
setup.py
2
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",
|
||||
|
|
|
|||
|
|
@ -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")
|
||||
|
|
|
|||
|
|
@ -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")
|
||||
|
|
|
|||
|
|
@ -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")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue