/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 breezy/tests/test_bedding.py

  • Committer: Jelmer Vernooij
  • Date: 2020-07-05 12:50:01 UTC
  • mfrom: (7490.40.46 work)
  • mto: (7490.40.48 work)
  • mto: This revision was merged to the branch mainline in revision 7519.
  • Revision ID: jelmer@jelmer.uk-20200705125001-7s3vo0p55szbbws7
Merge lp:brz/3.1.

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
import os
21
21
import sys
22
22
 
 
23
from ..sixish import (
 
24
    text_type,
 
25
    )
23
26
from .. import (
24
27
    bedding,
25
28
    osutils,
53
56
        self.assertEqual(bedding.config_dir(), self.brz_home)
54
57
 
55
58
    def test_config_dir_is_unicode(self):
56
 
        self.assertIsInstance(bedding.config_dir(), str)
 
59
        self.assertIsInstance(bedding.config_dir(), text_type)
57
60
 
58
61
    def test_config_path(self):
59
62
        self.assertEqual(bedding.config_path(),
81
84
        self.assertEqual(bedding.config_dir(), self.bzr_home)
82
85
 
83
86
    def test_config_dir_is_unicode(self):
84
 
        self.assertIsInstance(bedding.config_dir(), str)
 
87
        self.assertIsInstance(bedding.config_dir(), text_type)
85
88
 
86
89
    def test_config_path(self):
87
90
        self.assertEqual(bedding.config_path(),