~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/blackbox/test_dpush.py

  • Committer: Vincent Ladeuil
  • Date: 2016-02-01 18:09:18 UTC
  • mfrom: (6614.1.3 assert)
  • mto: This revision was merged to the branch mainline in revision 6615.
  • Revision ID: v.ladeuil+lp@free.fr-20160201180918-jqtq8ol6gdbbbtpv
Fix deprecated assertions to unblock release

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# Copyright (C) 2009-2012 Canonical Ltd
 
1
# Copyright (C) 2009-2012, 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
53
53
        target_tree = self.make_branch_and_tree("dp")
54
54
        source_tree = self.make_branch_and_tree("dc")
55
55
        output, error = self.run_bzr("dpush -d dc dp", retcode=3)
56
 
        self.assertEquals("", output)
 
56
        self.assertEqual("", output)
57
57
        self.assertContainsRe(error,
58
58
            'in the same VCS, lossy push not necessary. Please use regular '
59
59
            'push.')
132
132
          [('modify', ('fooid', 'blie'))])
133
133
 
134
134
        output, error = self.run_bzr("dpush -d dc d", retcode=3)
135
 
        self.assertEquals(output, "")
 
135
        self.assertEqual(output, "")
136
136
        self.assertContainsRe(error, "have diverged")
137
137
 
138
138