/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_transform.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2006-11-02 07:29:02 UTC
  • mfrom: (2090.2.4 dash-o)
  • Revision ID: pqm@pqm.ubuntu.com-20061102072902-8b3d43db5d36ec5b
(mbp) #45205 fix errors when running under python -O

Show diffs side-by-side

added added

removed removed

Lines of Context:
19
19
import sys
20
20
 
21
21
from bzrlib import (
 
22
    errors,
22
23
    tests,
23
24
    urlutils,
24
25
    )
910
911
        target = self.make_branch_and_tree('target')
911
912
        self.build_tree(['target/name'])
912
913
        target.add('name')
913
 
        self.assertRaises(AssertionError, build_tree, source.basis_tree(),
914
 
                          target)
 
914
        self.assertRaises(errors.WorkingTreeAlreadyPopulated, 
 
915
            build_tree, source.basis_tree(), target)
915
916
 
916
917
 
917
918
class MockTransform(object):