Lines Matching refs:value
145 self.assertEqual(ttk._format_mapdict({'opt': [('value',)]}),
146 ('-opt', '{} value'))
158 valid = {'opt': [[1, 'value']]}
159 self.assertEqual(ttk._format_mapdict(valid), ('-opt', '1 value'))
162 valid = {'opt': [(stateval, 'value')]}
164 ('-opt', '{} value'))
258 # to act like a dict (except when the value evaluates to False).
340 def test_it(sspec, value, res_value, states):
342 (sspec, value)), [states + (res_value, )])
367 sample_ltuple = ('name', '-option', 'value')
369 [('name', {'option': 'value'})])
397 ('name', 'no_minus', 'value'))