/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_shelf.py

Merge with serialize-transform

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# Copyright (C) 2008 Aaron Bentley <aaron@aaronbentley.com>
 
1
# Copyright (C) 2008 Canonical Ltd.
2
2
#
3
3
#    This program is free software; you can redistribute it and/or modify
4
4
#    it under the terms of the GNU General Public License as published by
16
16
 
17
17
import os
18
18
 
19
 
from bzrlib import pack, tests, transform
20
 
from bzrlib.plugins.shelf2 import shelf, serialize_transform
 
19
from bzrlib import pack, shelf, tests, transform
21
20
 
22
21
 
23
22
class TestPrepareShelf(tests.TestCaseWithTransport):
237
236
            shelf_file.close()
238
237
        tt = transform.TransformPreview(tree)
239
238
        self.addCleanup(tt.finalize)
240
 
        serialize_transform.deserialize(tt,
241
 
            iter(parser.read_pending_records()))
 
239
        tt.deserialize(iter(parser.read_pending_records()))