Lines Matching refs:spec
36 spec = 'flag=[%s-%s]' % (start, end)
38 test_flag = Flag(spec)
77 spec = 'flag=[%s-%s]' % (start, end)
79 test_flag = Flag(spec, value)
112 spec = '%s' % flag_name
114 assert FlagSet([Flag(spec)]) == FlagSet([Flag(spec)])
118 spec = '%s' % flag_name
119 flag_set = FlagSet([Flag(spec)])
134 specs = [str(spec) for spec in tests]
135 flag_array = [Flag(spec) for spec in specs]
143 for spec in spec_flag:
144 assert flag_set[spec] == spec_flag[spec]
156 specs = [str(spec) for spec in true_tests]
158 flag_set = FlagSet([Flag(spec) for spec in specs])
160 for spec in specs:
161 assert spec in flag_set
163 for spec in false_tests:
164 assert spec not in flag_set
179 spec = '%s' % flag_name
180 flags.append(Flag(spec))
181 result.append(spec)