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

  • Committer: Jelmer Vernooij
  • Date: 2017-05-21 14:47:52 UTC
  • mto: This revision was merged to the branch mainline in revision 6623.
  • Revision ID: jelmer@jelmer.uk-20170521144752-8o6jt0a6xat9g7lm
More renames; commands in output, environment variables.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# Copyright (C) 2007-2010 Canonical Ltd
 
1
# Copyright (C) 2007-2010, 2016 Canonical Ltd
2
2
#
3
3
# This program is free software; you can redistribute it and/or modify
4
4
# it under the terms of the GNU General Public License as published by
15
15
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
16
16
 
17
17
 
18
 
from bzrlib import tests
19
 
from bzrlib.builtins import cmd_init
20
 
from bzrlib.tests.transport_util import TestCaseWithConnectionHookedTransport
 
18
from brzlib import tests
 
19
from brzlib.builtins import cmd_init
 
20
from brzlib.tests.transport_util import TestCaseWithConnectionHookedTransport
21
21
 
22
22
 
23
23
class TestInit(TestCaseWithConnectionHookedTransport):
31
31
        # We don't care about the ouput but 'outf' should be defined
32
32
        cmd.outf = tests.StringIOWrapper()
33
33
        cmd.run(self.get_url())
34
 
        self.assertEquals(1, len(self.connections))
 
34
        self.assertEqual(1, len(self.connections))
35
35