mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
Fixed failing tests caused by version_note
This commit is contained in:
parent
b454d61e9f
commit
38ef2e5943
1 changed files with 2 additions and 0 deletions
|
|
@ -252,6 +252,7 @@ def test_temporary_docker_directory_uses_hard_link():
|
||||||
static=[],
|
static=[],
|
||||||
install=[],
|
install=[],
|
||||||
spatialite=False,
|
spatialite=False,
|
||||||
|
version_note=None,
|
||||||
) 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()
|
||||||
|
|
@ -278,6 +279,7 @@ def test_temporary_docker_directory_uses_copy_if_hard_link_fails(mock_link):
|
||||||
static=[],
|
static=[],
|
||||||
install=[],
|
install=[],
|
||||||
spatialite=False,
|
spatialite=False,
|
||||||
|
version_note=None,
|
||||||
) 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