kopia lustrzana https://github.com/simonw/datasette
Updated tests I broke in c195ee4
rodzic
3459ab9166
commit
b01304d707
|
@ -192,7 +192,10 @@ def test_temporary_docker_directory_uses_hard_link():
|
|||
files=['hello'],
|
||||
name='t',
|
||||
metadata=None,
|
||||
extra_options=None
|
||||
extra_options=None,
|
||||
branch=None,
|
||||
template_dir=None,
|
||||
static=[],
|
||||
) as temp_docker:
|
||||
hello = os.path.join(temp_docker, 'hello')
|
||||
assert 'world' == open(hello).read()
|
||||
|
@ -212,7 +215,10 @@ def test_temporary_docker_directory_uses_copy_if_hard_link_fails(mock_link):
|
|||
files=['hello'],
|
||||
name='t',
|
||||
metadata=None,
|
||||
extra_options=None
|
||||
extra_options=None,
|
||||
branch=None,
|
||||
template_dir=None,
|
||||
static=[],
|
||||
) as temp_docker:
|
||||
hello = os.path.join(temp_docker, 'hello')
|
||||
assert 'world' == open(hello).read()
|
||||
|
|
Ładowanie…
Reference in New Issue