Example #1
0
    def test_http(self, mock_validate_boolean):
        error_messages = []

        configuration._validate_http(False, error_messages)

        mock_validate_boolean.assert_called_once_with('http', False,
                                                      error_messages)
    def test_http(self, mock_validate_boolean):
        error_messages = []

        configuration._validate_http(False, error_messages)

        mock_validate_boolean.assert_called_once_with('http', False, error_messages)