/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: Aaron Bentley
  • Date: 2008-06-25 20:46:31 UTC
  • mto: (3363.8.1 stored_kind)
  • mto: This revision was merged to the branch mainline in revision 3517.
  • Revision ID: aaron@aaronbentley.com-20080625204631-1xqay9ump68bp40p
Tweak tests

Show diffs side-by-side

added added

removed removed

Lines of Context:
2179
2179
        self.assertEqual(len('contents'), summary[1])
2180
2180
        # executable
2181
2181
        self.assertEqual(True, summary[2])
2182
 
        # may have hash,
2183
 
        self.assertSubset((summary[3],),
2184
 
            (None, '0c352290ae1c26ca7f97d5b2906c4624784abd60'))
 
2182
        # will not have hash (not cheap to determine)
 
2183
        self.assertIs(None, summary[3])
2185
2184
 
2186
2185
    def test_change_executability(self):
2187
2186
        if not osutils.supports_executable():
2209
2208
            self.assertEqual(False, summary[2])
2210
2209
        else:
2211
2210
            self.assertEqual(None, summary[2])
2212
 
        # may have hash,
2213
 
        self.assertSubset((summary[3],),
2214
 
            (None, '0c352290ae1c26ca7f97d5b2906c4624784abd60'))
 
2211
        # will not have hash (not cheap to determine)
 
2212
        self.assertIs(None, summary[3])
2215
2213
 
2216
2214
    def test_dir_content_summary(self):
2217
2215
        preview = self.get_empty_preview()