def test_initialise_directories_attached_exists(self):
        directory = FilePath(self.mktemp())
        attached_directory = directory.child(
            LoopbackBlockDeviceAPI._attached_directory_name
        )
        attached_directory.makedirs()
        self.assertDirectoryStructure(directory)
``from_path`` uses existing attached directory if present.
dataset/ETHPy150Open ClusterHQ/flocker/flocker/node/agents/test/test_blockdevice.py/LoopbackBlockDeviceAPIImplementationTests.test_initialise_directories_attached_exists