| 247 | |
| 248 | |
| 249 | class C(Configurable): |
| 250 | str_trait = Unicode(config=True) |
| 251 | int_trait = Integer(config=True) |
| 252 | list_trait = List(config=True) |
| 253 | list_of_ints = List(Integer(), config=True) |
| 254 | dict_trait = Dict(config=True) |
| 255 | dict_of_ints = Dict( |
| 256 | key_trait=Integer(), |
| 257 | value_trait=Integer(), |
| 258 | config=True, |
| 259 | ) |
| 260 | dict_multi = Dict( |
| 261 | key_trait=Unicode(), |
| 262 | per_key_traits={ |
| 263 | "int": Integer(), |
| 264 | "str": Unicode(), |
| 265 | }, |
| 266 | config=True, |
| 267 | ) |
| 268 | |
| 269 | |
| 270 | class TestKeyValueCL(TestCase): |