/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 brzlib/tests/commands/test_update.py

  • Committer: Jelmer Vernooij
  • Date: 2017-05-21 12:41:27 UTC
  • mto: This revision was merged to the branch mainline in revision 6623.
  • Revision ID: jelmer@jelmer.uk-20170521124127-iv8etg0vwymyai6y
s/bzr/brz/ in apport config.

Show diffs side-by-side

added added

removed removed

Lines of Context:
14
14
# along with this program; if not, write to the Free Software
15
15
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
16
16
 
17
 
from ... import (
 
17
 
 
18
from brzlib import (
18
19
    branch,
19
20
    builtins,
20
 
    )
21
 
from .. import (
22
 
    transport_util,
23
 
    ui_testing,
24
 
    )
 
21
    tests,
 
22
    )
 
23
from brzlib.tests import transport_util
25
24
 
26
25
 
27
26
class TestUpdate(transport_util.TestCaseWithConnectionHookedTransport):
39
38
 
40
39
        update = builtins.cmd_update()
41
40
        # update needs the encoding from outf to print URLs
42
 
        update.outf = ui_testing.StringIOWithEncoding()
 
41
        update.outf = tests.StringIOWrapper()
43
42
        # update calls it 'dir' where other commands calls it 'directory'
44
43
        update.run(dir='local')
45
44
        self.assertEqual(1, len(self.connections))
 
45