'Test an invalid option with relaxed=True.'

def test_config_reading_with_deleted_options(self, objects):

    objects.cp.read_dict({'general': collections.OrderedDict([('wrap-search', 'true'), ('save-session', 'true')])})
    objects.cfg._from_cp(objects.cp)
    with pytest.raises(configexc.NoOptionError):
        objects.cfg.get('general', 'wrap-search')
    assert objects.cfg.get('general', 'save-session')
