Example #1
0
 def testAcceptNone(self):
   decoder = benchmark_config_spec._PerCloudConfigDecoder(none_ok=True,
                                                          option=_OPTION)
   self.assertIsNone(decoder.Decode(None, _COMPONENT, {}))
Example #2
0
 def setUp(self):
   super(PerCloudConfigDecoderTestCase, self).setUp()
   self._decoder = benchmark_config_spec._PerCloudConfigDecoder(option=_OPTION)