~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_scenarios.py

  • Committer: Patch Queue Manager
  • Date: 2015-10-05 13:45:00 UTC
  • mfrom: (6603.3.1 bts794146)
  • Revision ID: pqm@pqm.ubuntu.com-20151005134500-v244rho557tv0ukd
(vila) Resolve Bug #1480015: Test failure: hexify removed from paramiko
 (Andrew Starr-Bochicchio) (Andrew Starr-Bochicchio)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# Copyright (C) 2010, 2016 Canonical Ltd
 
1
# Copyright (C) 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
64
64
            self,
65
65
            vary_by_color(),
66
66
            suite)
67
 
        self.assertEqual(
 
67
        self.assertEquals(
68
68
            ['blue', 'green', 'red'],
69
69
            get_generated_test_attributes(suite, 'color'))
70
70
 
74
74
            vary_named_attribute('one'),
75
75
            vary_named_attribute('two'),
76
76
            )
77
 
        self.assertEqual(
 
77
        self.assertEquals(
78
78
            2*2,
79
79
            len(s),
80
80
            s)
86
86
        multiply_tests_by_their_scenarios(
87
87
            test_instance,
88
88
            suite)
89
 
        self.assertEqual(
 
89
        self.assertEquals(
90
90
            ['a', 'a', 'b', 'b'],
91
91
            get_generated_test_attributes(suite, 'value'))
92
92