mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
Compare commits
2 commits
main
...
include-vc
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
01978ddb96 |
||
|
|
cc4a21e0da |
2 changed files with 2 additions and 2 deletions
|
|
@ -96,4 +96,4 @@ def publish_subcommand(publish):
|
|||
create_output = check_output(cmd).decode("utf8")
|
||||
app_name = json.loads(create_output)["name"]
|
||||
|
||||
call(["heroku", "builds:create", "-a", app_name])
|
||||
call(["heroku", "builds:create", "-a", app_name, "--include-vcs-ignore"])
|
||||
|
|
|
|||
|
|
@ -57,7 +57,7 @@ def test_publish_heroku(mock_call, mock_check_output, mock_which):
|
|||
open("test.db", "w").write("data")
|
||||
result = runner.invoke(cli.cli, ["publish", "heroku", "test.db"])
|
||||
assert 0 == result.exit_code, result.output
|
||||
mock_call.assert_called_once_with(["heroku", "builds:create", "-a", "f"])
|
||||
mock_call.assert_called_once_with(["heroku", "builds:create", "-a", "f", "--include-vcs-ignore"])
|
||||
|
||||
|
||||
@mock.patch("shutil.which")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue