code: def test_failure_augmentation_fit_predict(self):
      # Assert that value error is raised
      with self.assertRaises(ValueError) as context:
          _ = GaussianAugmentation(
              augmentation=True, apply_fit=False, apply_predict=True
          )
  
      self.assertTrue(
          "If `augmentation` is `True`, then `apply_fit` must be `True` and `apply_predict`"
          " must be `False`." in str(context.exception)
      )
      with self.assertRaises(ValueError) as context:
          _ = GaussianAugmentation(
              augmentation=True, apply_fit=False, apply_predict=False
          )
  
      self.assertIn(
          "If `augmentation` is `True`, then `apply_fit` and `apply_predict` can't be both `False`.",
          str(context.exception),
      )
  
file_path: adversarial-robustness-toolbox/tests/defences/test_gaussian_augmentation.py
imports: from __future__ import absolute_import, division, print_function, unicode_literals
  import logging
  import unittest
  import numpy
  from art.defences.preprocessor import GaussianAugmentation
  from tests.utils import master_seed
label_desc: Use image node_id 7 for calling the TestGaussianAugmentation obj's underlying member method code with example usage: obj.test_failure_augmentation_fit_predict() without return types