Merge branch 'fschlimb-templ_def_cache'
* fschlimb-templ_def_cache: Add template_default_cache runtime tests Fix template_default_cache testcase template_default_cache is a multi-module test using 2-level caching as suggested by @wsfulton account for explicitly qualified scopes adding test restricting chaching template default types
This commit is contained in:
commit
4c1152efcd
5 changed files with 90 additions and 10 deletions
|
|
@ -0,0 +1,9 @@
|
|||
import template_default_cache
|
||||
|
||||
ap = template_default_cache.get_mp_a();
|
||||
bp = template_default_cache.get_mp_b();
|
||||
|
||||
if not isinstance(ap, template_default_cache.AModelPtr):
|
||||
raise RuntimeError("get_mp_a fail")
|
||||
if not isinstance(bp, template_default_cache.BModelPtr):
|
||||
raise RuntimeError("get_mp_b fail")
|
||||
Loading…
Add table
Add a link
Reference in a new issue