Fixed failing tests caused by version_note

This commit is contained in:
Simon Willison 2018-06-17 13:27:40 -07:00
commit 38ef2e5943
No known key found for this signature in database
GPG key ID: 17E2DEA2588B7F52

View file

@ -252,6 +252,7 @@ def test_temporary_docker_directory_uses_hard_link():
static=[],
install=[],
spatialite=False,
version_note=None,
) as temp_docker:
hello = os.path.join(temp_docker, 'hello')
assert 'world' == open(hello).read()
@ -278,6 +279,7 @@ def test_temporary_docker_directory_uses_copy_if_hard_link_fails(mock_link):
static=[],
install=[],
spatialite=False,
version_note=None,
) as temp_docker:
hello = os.path.join(temp_docker, 'hello')
assert 'world' == open(hello).read()