Skip to content

Commit f4b3a1b

Browse files
author
yangshukui
committed
create tempfile in VolumeBindTest for non-auto-creating of docker
Signed-off-by: yangshukui <[email protected]>
1 parent a6a562a commit f4b3a1b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/integration/container_test.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -381,6 +381,7 @@ def setUp(self):
381381
# Get a random pathname - we don't need it to exist locally
382382
self.mount_origin = tempfile.mkdtemp()
383383
shutil.rmtree(self.mount_origin)
384+
os.mkdir(self.mount_origin)
384385
self.filename = 'shared.txt'
385386

386387
self.run_with_volume(

0 commit comments

Comments
 (0)