Esempio n. 1
0
    def test_protected(self, mock_validate_boolean):
        error_messages = []

        configuration._validate_protected(True, error_messages)

        mock_validate_boolean.assert_called_once_with('protected', True,
                                                      error_messages, False)
    def test_protected(self, mock_validate_boolean):
        error_messages = []

        configuration._validate_protected(True, error_messages)

        mock_validate_boolean.assert_called_once_with('protected', True, error_messages, False)