def METHOD_NAME(self):
    """Create a complex .zip file with files / directories / nested directories in it."""
    with tempfile.TemporaryDirectory() as tmpdir:
        os.makedirs(os.path.join(tmpdir, "a/b"))
        os.makedirs(os.path.join(tmpdir, "c/d/e"))
        with open(os.path.join(tmpdir, "file.txt"), "wb") as f, open(
            os.path.join(tmpdir, "a", "b", "file.txt"), "wb"
        ) as f2:
            f.write(SAMPLE_CONTENTS)
            f.flush()
            f2.write(SAMPLE_CONTENTS)
            f2.flush()
            zip_contents = zip_directory(tmpdir).read()
            return zip_contents