Updated tests I broke in c195ee4

pull/178/head
Simon Willison 2017-12-09 10:38:04 -08:00
rodzic 3459ab9166
commit b01304d707
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 17E2DEA2588B7F52
1 zmienionych plików z 8 dodań i 2 usunięć

Wyświetl plik

@ -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()