MCPcopy
hub / github.com/docker/docker-py / setUp

Method setUp

tests/integration/api_container_test.py:502–515  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

500)
501class VolumeBindTest(BaseAPIIntegrationTest):
502 def setUp(self):
503 super().setUp()
504
505 self.mount_dest = '/mnt'
506
507 # Get a random pathname - we don't need it to exist locally
508 self.mount_origin = tempfile.mkdtemp()
509 self.filename = 'shared.txt'
510
511 self.run_with_volume(
512 False,
513 TEST_IMG,
514 ['touch', os.path.join(self.mount_dest, self.filename)],
515 )
516
517 def test_create_with_binds_rw(self):
518

Callers

nothing calls this directly

Calls 2

run_with_volumeMethod · 0.95
joinMethod · 0.80

Tested by

no test coverage detected