예제 #1
0
    def test_remove_cert_based_auth(self, mock_delete_protected_repo):
        repo = Repository(repo_id='test')
        config = {}

        configuration.remove_cert_based_auth(repo, config)

        mock_delete_protected_repo.assert_called_once_with(repo.repo_id)
예제 #2
0
    def test_remove_cert_based_auth(self, mock_delete_protected_repo):
        repo = Repository(repo_id='test')
        config = {}

        configuration.remove_cert_based_auth(repo, config)

        mock_delete_protected_repo.assert_called_once_with(repo.repo_id)