mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
Upgrade to Black 20.8b1, closes #958
This commit is contained in:
parent
26b2922f17
commit
a648bb82ba
22 changed files with 203 additions and 58 deletions
|
|
@ -105,7 +105,13 @@ def test_publish_cloudrun(mock_call, mock_output, mock_which):
|
|||
@mock.patch("datasette.publish.cloudrun.check_call")
|
||||
@pytest.mark.parametrize(
|
||||
"memory,should_fail",
|
||||
[["1Gi", False], ["2G", False], ["256Mi", False], ["4", True], ["GB", True],],
|
||||
[
|
||||
["1Gi", False],
|
||||
["2G", False],
|
||||
["256Mi", False],
|
||||
["4", True],
|
||||
["GB", True],
|
||||
],
|
||||
)
|
||||
def test_publish_cloudrun_memory(
|
||||
mock_call, mock_output, mock_which, memory, should_fail
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue