mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
Fixed tests I broke in b18e45158
This commit is contained in:
parent
7381af85e6
commit
9277c6236a
1 changed files with 2 additions and 0 deletions
|
|
@ -251,6 +251,7 @@ def test_temporary_docker_directory_uses_hard_link():
|
||||||
plugins_dir=None,
|
plugins_dir=None,
|
||||||
static=[],
|
static=[],
|
||||||
install=[],
|
install=[],
|
||||||
|
spatialite=False,
|
||||||
) as temp_docker:
|
) as temp_docker:
|
||||||
hello = os.path.join(temp_docker, 'hello')
|
hello = os.path.join(temp_docker, 'hello')
|
||||||
assert 'world' == open(hello).read()
|
assert 'world' == open(hello).read()
|
||||||
|
|
@ -276,6 +277,7 @@ def test_temporary_docker_directory_uses_copy_if_hard_link_fails(mock_link):
|
||||||
plugins_dir=None,
|
plugins_dir=None,
|
||||||
static=[],
|
static=[],
|
||||||
install=[],
|
install=[],
|
||||||
|
spatialite=False,
|
||||||
) as temp_docker:
|
) as temp_docker:
|
||||||
hello = os.path.join(temp_docker, 'hello')
|
hello = os.path.join(temp_docker, 'hello')
|
||||||
assert 'world' == open(hello).read()
|
assert 'world' == open(hello).read()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue