(path)
| 104 | |
| 105 | # create a simple parser that pulls the export_version from the directory. |
| 106 | def parser(path): |
| 107 | match = re.match(r"^" + base_dir + r"/(\d+)$", path.path) |
| 108 | if not match: |
| 109 | return None |
| 110 | return path._replace(export_version=int(match.group(1))) |
| 111 | |
| 112 | self.assertEquals( |
| 113 | gc.get_paths( |