/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

* TestCaseWithMemoryTransport no longer sets $HOME and $BZR_HOME to
        unicode strings. (Michael Hudson, #464174)

Show diffs side-by-side

added added

removed removed

Lines of Context:
516
516
        cwd = osutils.getcwd()
517
517
        self.assertIsSameRealPath(self.test_dir, cwd)
518
518
 
 
519
    def test_BZR_HOME_and_HOME_are_bytestrings(self):
 
520
        """The $BZR_HOME and $HOME environment variables should not be unicode.
 
521
 
 
522
        See https://bugs.launchpad.net/bzr/+bug/464174
 
523
        """
 
524
        self.assertIsInstance(os.environ['BZR_HOME'], str)
 
525
        self.assertIsInstance(os.environ['HOME'], str)
 
526
 
519
527
    def test_make_branch_and_memory_tree(self):
520
528
        """In TestCaseWithMemoryTransport we should not make the branch on disk.
521
529