def test_clone_and_archive(self):
    '\n            Test the clone functionality\n        '
    self.assertFalse(self.repo.has_wiki)
    clone_url = self.repo.clone_url
    archive_name = clone_and_archive(self.repo_string, clone_url, self.time, TestGetGithub._current_dir, [])
    name = '{repo}_github_archive_{time}.tar.gz'.format(repo=self.repo_string, time=self.time)
    self.assertEqual(archive_name.name, name)
    self.assertTrue((TestGetGithub._current_dir / name).exists())
Test the clone functionality
def test_clone_and_archive(self):
    '\n            \n        '
    self.assertFalse(self.repo.has_wiki)
    clone_url = self.repo.clone_url
    archive_name = clone_and_archive(self.repo_string, clone_url, self.time, TestGetGithub._current_dir, [])
    name = '{repo}_github_archive_{time}.tar.gz'.format(repo=self.repo_string, time=self.time)
    self.assertEqual(archive_name.name, name)
    self.assertTrue((TestGetGithub._current_dir / name).exists())