cache
This commit is contained in:
@ -68,7 +68,7 @@ def test_deref_optiondescription():
|
||||
def test_deref_option_cache():
|
||||
b = BoolOption('b', '')
|
||||
o = OptionDescription('od', '', [b])
|
||||
o.impl_build_cache()
|
||||
o.impl_build_cache_option()
|
||||
w = weakref.ref(b)
|
||||
del(b)
|
||||
assert w() is not None
|
||||
@ -81,7 +81,7 @@ def test_deref_option_cache():
|
||||
def test_deref_optiondescription_cache():
|
||||
b = BoolOption('b', '')
|
||||
o = OptionDescription('od', '', [b])
|
||||
o.impl_build_cache()
|
||||
o.impl_build_cache_option()
|
||||
w = weakref.ref(o)
|
||||
del(b)
|
||||
assert w() is not None
|
||||
@ -103,6 +103,7 @@ def test_deref_option_config():
|
||||
#FIXME meme chose
|
||||
#assert w() is None
|
||||
|
||||
|
||||
#FIXME rien a voir mais si je fais un config.impl_get_path_by_opt() ca me retourne la methode !
|
||||
def test_deref_optiondescription_config():
|
||||
b = BoolOption('b', '')
|
||||
|
Reference in New Issue
Block a user