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

Without ino and dev, we can't assume that the stat result won't accidentally be the same.

So instead, we force the content to be different.

Show diffs side-by-side

added added

removed removed

Lines of Context:
490
490
        self.assertEqualStat(real, fake)
491
491
 
492
492
    def test_assertEqualStat_notequal(self):
493
 
        self.build_tree(["foo", "bar"])
 
493
        self.build_tree(["foo", "longname"])
494
494
        self.assertRaises(AssertionError, self.assertEqualStat,
495
 
            os.lstat("foo"), os.lstat("bar"))
 
495
            os.lstat("foo"), os.lstat("longname"))
496
496
 
497
497
 
498
498
class TestTestCaseWithMemoryTransport(tests.TestCaseWithMemoryTransport):