404 error trying to record replay data
I am trying to record replay data for new PullRequest tests, but it errors with a 404 on:
marco_repo = self.g.get_repo("MarcoFalke/PyGithub", lazy=True)
self.pullIssue256Closed = marco_repo.get_pull(1).complete()Trying to open http://github.com/MarcoFalke/PyGithub shows 404 as well, so this is most likely a dead or private fork. Commenting those lines out shows same error for http://github.com/FlorentClarret/PyGithub, commenting those as well records replay successfully.
It looks to me like those forks have been created specifically to generate replay data, but has since been removed without concern that it may actually break upstream tests. Recording new tests now requires commenting them out, recording new data, then manually merging the replay file to prevent removal of old tests.
The best solution I can think of is to have the replay script backup the file being recorded, then fill any 404s from the backup.
Source: PyGithub/PyGithub