mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
datasette publish/package --install option, closes #223
Allows you to specify one or more additional packages to be installed, useful for deploying plugins.
This commit is contained in:
parent
2b344f6a34
commit
404fa2252b
3 changed files with 54 additions and 10 deletions
|
|
@ -197,6 +197,7 @@ def test_temporary_docker_directory_uses_hard_link():
|
|||
template_dir=None,
|
||||
plugins_dir=None,
|
||||
static=[],
|
||||
install=[],
|
||||
) as temp_docker:
|
||||
hello = os.path.join(temp_docker, 'hello')
|
||||
assert 'world' == open(hello).read()
|
||||
|
|
@ -221,6 +222,7 @@ def test_temporary_docker_directory_uses_copy_if_hard_link_fails(mock_link):
|
|||
template_dir=None,
|
||||
plugins_dir=None,
|
||||
static=[],
|
||||
install=[],
|
||||
) as temp_docker:
|
||||
hello = os.path.join(temp_docker, 'hello')
|
||||
assert 'world' == open(hello).read()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue