mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
Fixed tests relating to #459
This commit is contained in:
parent
05cabaebd9
commit
ce09e5d2d3
1 changed files with 3 additions and 5 deletions
|
|
@ -77,15 +77,14 @@ def test_publish_now_multiple_aliases(mock_run, mock_which):
|
|||
)
|
||||
mock_run.assert_has_calls(
|
||||
[
|
||||
mock.call(["now", "--token", "XXX"], stdout=subprocess.PIPE),
|
||||
mock.call(["now", "--token=XXX"], stdout=subprocess.PIPE),
|
||||
mock.call(
|
||||
[
|
||||
"now",
|
||||
"alias",
|
||||
b"https://demo.example.com/",
|
||||
"alias1",
|
||||
"--token",
|
||||
"XXX",
|
||||
"--token=XXX",
|
||||
]
|
||||
),
|
||||
mock.call(
|
||||
|
|
@ -94,8 +93,7 @@ def test_publish_now_multiple_aliases(mock_run, mock_which):
|
|||
"alias",
|
||||
b"https://demo.example.com/",
|
||||
"alias2",
|
||||
"--token",
|
||||
"XXX",
|
||||
"--token=XXX",
|
||||
]
|
||||
),
|
||||
]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue