~bzr/ubuntu/hardy/bzr/bzr-ppa

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_selftest.py

  • Committer: Max Bowsher
  • Date: 2011-07-17 23:30:45 UTC
  • mfrom: (76.3.42 karmic)
  • Revision ID: _@maxb.eu-20110717233045-n093joucqnux0sq8
Tags: 2.3.4-0~bazaar1~hardy1
MergeĀ 2.3.4

Show diffs side-by-side

added added

removed removed

Lines of Context:
512
512
        self.assertRaises(AssertionError, self.assertEqualStat,
513
513
            os.lstat("foo"), os.lstat("longname"))
514
514
 
515
 
    def test_failUnlessExists(self):
516
 
        """Deprecated failUnlessExists and failIfExists"""
517
 
        self.applyDeprecated(
518
 
            deprecated_in((2, 4)),
519
 
            self.failUnlessExists, '.')
520
 
        self.build_tree(['foo/', 'foo/bar'])
521
 
        self.applyDeprecated(
522
 
            deprecated_in((2, 4)),
523
 
            self.failUnlessExists, 'foo/bar')
524
 
        self.applyDeprecated(
525
 
            deprecated_in((2, 4)),
526
 
            self.failIfExists, 'foo/foo')
527
 
 
528
515
    def test_assertPathExists(self):
529
516
        self.assertPathExists('.')
530
517
        self.build_tree(['foo/', 'foo/bar'])