def test_create_package_dir(self):
        tempdir = tempfile.mkdtemp()
        os.rmdir(tempdir)
        settings = {
            'storage.dir': tempdir,
        }
        FileStorage.configure(settings)
        try:
            self.assertTrue(os.path.exists(tempdir))
        finally:
            os.rmdir(tempdir)
configure() will create the package dir if it doesn't exist
dataset/ETHPy150Open mathcamp/pypicloud/tests/test_storage.py/TestFileStorage.test_create_package_dir