

def test_conf(self):
    with command.mock_option('conf', None):
        command = FlowerCommand()
        self.assertRaises(IOError, command.apply_options, 'flower', argv=['--conf=foo'])

dataset/ETHPy150Open mher/flower/tests/test_command.py TestFlowerCommand.test_conf/VarMisuse@11/13 `self`->`command`