~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

  • Committer: Patch Queue Manager
  • Date: 2016-02-01 19:13:13 UTC
  • mfrom: (6614.2.2 trunk)
  • Revision ID: pqm@pqm.ubuntu.com-20160201191313-wdfvmfff1djde6oq
(vila) Release 2.7.0 (Vincent Ladeuil)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# Copyright (C) 2005 Canonical Ltd
 
1
# Copyright (C) 2006, 2007, 2009-2013, 2016 Canonical Ltd
2
2
# -*- coding: utf-8 -*-
3
3
#
4
4
# This program is free software; you can redistribute it and/or modify
108
108
        out = self.run_bzr('sign-my-commits --dry-run')[0]
109
109
 
110
110
        outlines = out.splitlines()
111
 
        self.assertEquals(5, len(outlines))
112
 
        self.assertEquals('Signed 4 revisions.', outlines[-1])
 
111
        self.assertEqual(5, len(outlines))
 
112
        self.assertEqual('Signed 4 revisions.', outlines[-1])
113
113
        self.assertUnsigned(repo, 'A')
114
114
        self.assertUnsigned(repo, 'B')
115
115
        self.assertUnsigned(repo, 'C')