Home | History | Annotate | Download | only in test

Lines Matching defs:Mapping

12 class Mapping:
92 m = Mapping()
108 m = Mapping()
141 s = Template('the mapping is $mapping')
142 eq(s.substitute(dict(foo='none'), mapping='bozo'),
143 'the mapping is bozo')
144 eq(s.substitute(dict(mapping='one'), mapping='two'),
145 'the mapping is two')
156 s = Template('the mapping is $mapping')
157 eq(s.safe_substitute(dict(foo='none'), mapping='bozo'),
158 'the mapping is bozo')
159 eq(s.safe_substitute(dict(mapping='one'), mapping='two'),
160 'the mapping is two')
161 d = dict(mapping='one')