Skip to content

Commit

Permalink
ZO-4267: repair test halfway
Browse files Browse the repository at this point in the history
  • Loading branch information
louika committed Mar 1, 2024
1 parent 9887322 commit 49a61ca
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion core/src/zeit/connector/tests/test_contract.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,9 @@ def test_delitem_collection_raises_error_if_children_are_locked(self):
self.assertEqual([], self.listCollection('http://xml.zeit.de/testing'))
self.add_resource('one')
self.add_resource('two')
self.add_resource('http://xml.zeit.de/testing/folder/file')
collection = Resource(None, None, 'image', BytesIO(b''), None, 'httpd/unix-directory')
self.connector['http://xml.zeit.de/testing/folder'] = collection
self.add_resource('folder/file')
self.connector.lock(
'http://xml.zeit.de/testing/one',
'external',
Expand Down

0 comments on commit 49a61ca

Please sign in to comment.