def tearDown(self, mock_social_token):
     mock_social_token.return_value = os.environ.get('GITHUB_TOKEN')
     try:
         github_helper = GitHubHelper('test', self.python_package_name)
         github_helper._delete_repository()
     except Exception as e:
         print(e)
     try:
         r_github_helper = GitHubHelper('test', self.r_package_name)
         r_github_helper._delete_repository()
     except Exception as e:
         print(e)
    def tearDown(self, mock_social_token):
        mock_social_token.return_value = os.environ.get('GITHUB_TOKEN')
        try:
            github_helper = GitHubHelper('test', self.python_experiment_name)
            github_helper._delete_repository()
        except Exception:
            pass

        try:
            github_helper = GitHubHelper('test', self.r_experiment_name)
            github_helper._delete_repository()
        except Exception:
            pass