def test_export(self):
        """
        The C{exportTo} VCS command's method export the content of the
        repository as identical in a specified directory.
        """
        structure = {
            "README.rst": u"Hi this is 1.0.0.",
            "twisted": {
                "newsfragments": {
                    "README": u"Hi this is 1.0.0"},
                "_version.py": genVersion("twisted", 1, 0, 0),
                "web": {
                    "newsfragments": {
                        "README": u"Hi this is 1.0.0"},
                    "_version.py": genVersion("twisted.web", 1, 0, 0)}}}
        reposDir = self.makeRepository(self.tmpDir)
        self.createStructure(reposDir, structure)
        self.commitRepository(reposDir)

        exportDir = FilePath(self.mktemp()).child("export")
        self.createCommand.exportTo(reposDir, exportDir)
        self.assertStructure(exportDir, structure)

        The C{exportTo} VCS command's method export the content of the
        repository as identical in a specified directory.
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/python/test/test_release.py