test if cache property is not set in config when force_cache
This commit is contained in:
@ -420,8 +420,8 @@ class Values(object):
|
||||
"""
|
||||
context = self.context()
|
||||
if not 'cache' in context.cfgimpl_get_settings():
|
||||
raise PropertiesOptionError(_('can force cache only if cache '
|
||||
'is actived in config'))
|
||||
raise ConfigError(_('can force cache only if cache '
|
||||
'is actived in config'))
|
||||
#remove all cached properties and value to update "expired" time
|
||||
context.cfgimpl_reset_cache()
|
||||
for path in context.cfgimpl_get_description().impl_getpaths(
|
||||
|
Reference in New Issue
Block a user