def test_tarball_archive(self):
        self.instance.archive(format='tarball')

        self.session.get.assert_called_once_with(
            'https://api.github.com/repos/octocat/Hello-World/tarball/v1.0.0',
            allow_redirects=True,
            stream=True
        )
Verify that we generate the correct URL for a tarball archive.
dataset/ETHPy150Open sigmavirus24/github3.py/tests/unit/test_repos_release.py/TestRelease.test_tarball_archive