~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_transport.py

  • Committer: Martin Pool
  • Date: 2007-04-16 03:35:24 UTC
  • mto: (2420.2.2 bzr.http.auth)
  • mto: This revision was merged to the branch mainline in revision 2462.
  • Revision ID: mbp@sourcefrog.net-20070416033524-7w3l94gisf1p9w3a
small test cleanups

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# Copyright (C) 2004, 2005, 2006 Canonical Ltd
 
1
# Copyright (C) 2004, 2005, 2006, 2007 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
20
20
import stat
21
21
from cStringIO import StringIO
22
22
 
 
23
import bzrlib
23
24
from bzrlib import (
24
25
    errors,
25
26
    urlutils,
469
470
        transport = self.get_nfs_transport('.')
470
471
        self.build_tree(['from/', 'from/foo', 'to/', 'to/bar'],
471
472
                        transport=transport)
472
 
        self.assertRaises(bzrlib.errors.ResourceBusy,
 
473
        self.assertRaises(errors.ResourceBusy,
473
474
                          transport.rename, 'from', 'to')
474
475
 
475
476