def test_disable_dhcp(self):
        with patch.object(ilo, 'network',
                          return_value={'Network Settings': {'DHCP_ENABLE':
                                                             {'VALUE': 'N'}}}):
            self.assertTrue(ilo.disable_dhcp())

        with patch.object(ilo, 'network',
                          return_value={'Network Settings': {'DHCP_ENABLE':
                                                             {'VALUE': 'Y'}}}):
            with patch.object(ilo, '__execute_cmd',
                              return_value={'Disable DHCP': {}}):
                self.assertDictEqual(ilo.disable_dhcp(), {'Disable DHCP': {}})

    # 'configure_snmp' function tests: 1
Return an instance of cls matching title and locale, or fall
dataset/ETHPy150Open saltstack/salt/tests/unit/modules/ilo_test.py/IloTestCase.test_disable_dhcp--crossover with--dataset/ETHPy150Open mozilla/kitsune/kitsune/sumo/parser.py/get_object_fallback