summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDeni Bertovic <deni@kset.org>2013-10-03 11:48:18 +0200
committerDeni Bertovic <deni@kset.org>2013-10-03 11:55:02 +0200
commitafbfc703caaeff7ccd21c913b91716bb5b6aa281 (patch)
treec8ba628e78e8a2927820cb439cbf0e5318c9ac43
parent1ce8dc962c71251110fc465286a665723754e6cb (diff)
downloaddocker-py-afbfc703caaeff7ccd21c913b91716bb5b6aa281.tar.gz
integration test fix
make the mount point for shared.txt reside in the /tmp/ folder because if it resides in the lib folder docker sets the owner of the folder as root inside the container so then when the container exists the test fails to cleanup and remove the shared.txt file, and breaks git as well.
-rw-r--r--tests/integration_test.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/integration_test.py b/tests/integration_test.py
index 295a250..8130c3d 100644
--- a/tests/integration_test.py
+++ b/tests/integration_test.py
@@ -131,7 +131,7 @@ class TestCreateContainer(BaseTestCase):
class TestCreateContainerWithBinds(BaseTestCase):
def runTest(self):
mount_dest = '/mnt'
- mount_origin = os.getcwd()
+ mount_origin = '/tmp'
filename = 'shared.txt'
shared_file = os.path.join(mount_origin, filename)