~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/commands/test_checkout.py

  • Committer: Patch Queue Manager
  • Date: 2016-01-15 09:21:49 UTC
  • mfrom: (6606.2.1 autodoc-unicode)
  • Revision ID: pqm@pqm.ubuntu.com-20160115092149-z5f4sfq3jvaz0enb
(vila) Fix autodoc runner when LANG=C. (Jelmer Vernooij)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# Copyright (C) 2007, 2009, 2010, 2016 Canonical Ltd
 
1
# Copyright (C) 2007, 2009, 2010 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
27
27
 
28
28
        cmd = cmd_checkout()
29
29
        cmd.run(self.get_url('branch1'), 'local')
30
 
        self.assertEqual(1, len(self.connections))
 
30
        self.assertEquals(1, len(self.connections))
31
31
 
32
32
    def test_checkout_lightweight(self):
33
33
        self.make_branch_and_tree('branch1')
36
36
 
37
37
        cmd = cmd_checkout()
38
38
        cmd.run(self.get_url('branch1'), 'local', lightweight=True)
39
 
        self.assertEqual(1, len(self.connections))
 
39
        self.assertEquals(1, len(self.connections))
40
40