/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/blackbox/test_whoami.py

  • Committer: Jelmer Vernooij
  • Date: 2017-05-21 18:10:28 UTC
  • mto: This revision was merged to the branch mainline in revision 6623.
  • Revision ID: jelmer@jelmer.uk-20170521181028-zn04pdfw0od9hfj3
Rename brzlib => breezy.

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
 
18
18
"""Black-box tests for brz whoami."""
19
19
 
20
 
import brzlib
21
 
from brzlib import (
 
20
import breezy
 
21
from breezy import (
22
22
    branch,
23
23
    config,
24
24
    errors,
57
57
    def test_whoami_branch(self):
58
58
        """branch specific user identity works."""
59
59
        wt = self.make_branch_and_tree('.')
60
 
        b = brzlib.branch.Branch.open('.')
 
60
        b = breezy.branch.Branch.open('.')
61
61
        self.set_branch_email(b, 'Branch Identity <branch@identi.ty>')
62
62
        self.assertWhoAmI('Branch Identity <branch@identi.ty>')
63
63
        self.assertWhoAmI('branch@identi.ty', '--email')
82
82
        encoding.
83
83
        """
84
84
        wt = self.make_branch_and_tree('.')
85
 
        b = brzlib.branch.Branch.open('.')
 
85
        b = breezy.branch.Branch.open('.')
86
86
        self.set_branch_email(b, u'Branch Identity \u20ac <branch@identi.ty>')
87
87
        self.assertWhoAmI('Branch Identity ? <branch@identi.ty>',
88
88
                          encoding='ascii')