(self)
| 3451 | |
| 3452 | class TestProperties(fixtures.TestBase): |
| 3453 | def test_pickle(self): |
| 3454 | data = {"hello": "bla"} |
| 3455 | props = util.Properties(data) |
| 3456 | |
| 3457 | for loader, dumper in picklers(): |
| 3458 | s = dumper(props) |
| 3459 | p = loader(s) |
| 3460 | |
| 3461 | eq_(props._data, p._data) |
| 3462 | eq_(props.keys(), p.keys()) |
| 3463 | |
| 3464 | def test_keys_in_dir(self): |
| 3465 | data = {"hello": "bla"} |