~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_branchbuilder.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2009-02-23 17:00:36 UTC
  • mfrom: (4032.1.4 jam-integration)
  • Revision ID: pqm@pqm.ubuntu.com-20090223170036-3q1v68ewdt8i0to5
(Marius Kruger) Remove all trailing whitespace and add tests to
        enforce this.

Show diffs side-by-side

added added

removed removed

Lines of Context:
26
26
 
27
27
 
28
28
class TestBranchBuilder(tests.TestCaseWithMemoryTransport):
29
 
    
 
29
 
30
30
    def test_create(self):
31
31
        """Test the constructor api."""
32
32
        builder = BranchBuilder(self.get_transport().clone('foo'))
221
221
        self.addCleanup(builder.finish_series)
222
222
        builder.build_snapshot('B-id', ['A-id'],
223
223
            [('modify', ('a-id', 'new\ncontent\n'))])
224
 
        builder.build_snapshot('C-id', ['A-id'], 
 
224
        builder.build_snapshot('C-id', ['A-id'],
225
225
            [('add', ('c', 'c-id', 'file', 'alt\ncontent\n'))])
226
226
        # We should now have a graph:
227
227
        #   A