(self)
| 3356 | |
| 3357 | class TestProperties(fixtures.TestBase): |
| 3358 | def test_pickle(self): |
| 3359 | data = {"hello": "bla"} |
| 3360 | props = util.Properties(data) |
| 3361 | |
| 3362 | for loader, dumper in picklers(): |
| 3363 | s = dumper(props) |
| 3364 | p = loader(s) |
| 3365 | |
| 3366 | eq_(props._data, p._data) |
| 3367 | eq_(props.keys(), p.keys()) |
| 3368 | |
| 3369 | def test_keys_in_dir(self): |
| 3370 | data = {"hello": "bla"} |