~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: 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) 2010 Canonical Ltd
 
1
# Copyright (C) 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
64
64
            self,
65
65
            vary_by_color(),
66
66
            suite)
67
 
        self.assertEquals(
 
67
        self.assertEqual(
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.assertEquals(
 
77
        self.assertEqual(
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.assertEquals(
 
89
        self.assertEqual(
90
90
            ['a', 'a', 'b', 'b'],
91
91
            get_generated_test_attributes(suite, 'value'))
92
92