diff options
| author | yangshukui <yangshukui@huawei.com> | 2016-02-04 15:49:15 +0800 |
|---|---|---|
| committer | yangshukui <yangshukui@huawei.com> | 2016-02-04 15:49:15 +0800 |
| commit | f4b3a1bddd679f7531e089e9a751fc91c1907160 (patch) | |
| tree | 34035253b4bdf6b6dcb848f75fb00386693e2102 | |
| parent | a6a562a68102f548e87781a338219685b066c412 (diff) | |
| download | docker-py-f4b3a1bddd679f7531e089e9a751fc91c1907160.tar.gz | |
create tempfile in VolumeBindTest for non-auto-creating of docker
Signed-off-by: yangshukui <yangshukui@huawei.com>
| -rw-r--r-- | tests/integration/container_test.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/integration/container_test.py b/tests/integration/container_test.py index e1fd443..dc39b18 100644 --- a/tests/integration/container_test.py +++ b/tests/integration/container_test.py @@ -381,6 +381,7 @@ class VolumeBindTest(helpers.BaseTestCase): # Get a random pathname - we don't need it to exist locally self.mount_origin = tempfile.mkdtemp() shutil.rmtree(self.mount_origin) + os.mkdir(self.mount_origin) self.filename = 'shared.txt' self.run_with_volume( |
