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

  • Committer: Martin Pool
  • Date: 2007-09-25 08:14:12 UTC
  • mto: This revision was merged to the branch mainline in revision 2895.
  • Revision ID: mbp@sourcefrog.net-20070925081412-ta60zj5qxfuokev3
Remove most calls to safe_file_id and safe_revision_id.

The deprecation period for passing unicode objects as revision ids is now over.

Show diffs side-by-side

added added

removed removed

Lines of Context:
350
350
class TestSafeRevisionId(TestCase):
351
351
 
352
352
    def test_from_ascii_string(self):
 
353
        # this shouldn't give a warning because it's getting an ascii string
353
354
        self.assertEqual('foobar', osutils.safe_revision_id('foobar'))
354
355
 
355
356
    def test_from_unicode_string_ascii_contents(self):