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

  • Committer: Vincent Ladeuil
  • Date: 2011-05-12 20:26:05 UTC
  • mto: (5853.1.2 trunk) (5609.38.1 2.3)
  • mto: This revision was merged to the branch mainline in revision 5861.
  • Revision ID: v.ladeuil+lp@free.fr-20110512202605-whwfrkgddrxv1exm
Backport fix for deprecated test methods (failIf, failUnless, etc)

Show diffs side-by-side

added added

removed removed

Lines of Context:
44
44
 
45
45
    def test_aftp_degrade(self):
46
46
        t = transport.get_transport('aftp://host/path')
47
 
        self.failUnless(t.is_active)
 
47
        self.assertTrue(t.is_active)
48
48
        parent = t.clone('..')
49
 
        self.failUnless(parent.is_active)
 
49
        self.assertTrue(parent.is_active)
50
50
 
51
51
        self.assertEqual('aftp://host/path', t.abspath(''))
52
52