def test_auth_cert(self, mock_validate_certificate): error_messages = [] auth_cert = 'Look ma, I\'m a cert' configuration._validate_auth_cert(auth_cert, error_messages) mock_validate_certificate.assert_called_once_with('auth_cert', auth_cert, error_messages)
def test_auth_cert(self, mock_validate_certificate): error_messages = [] auth_cert = 'Look ma, I\'m a cert' configuration._validate_auth_cert(auth_cert, error_messages) mock_validate_certificate.assert_called_once_with('auth_cert', auth_cert, error_messages)