/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_registry.py

  • Committer: Patch Queue Manager
  • Date: 2016-04-21 04:39:02 UTC
  • mfrom: (6613.2.1 fix-gpl)
  • Revision ID: pqm@pqm.ubuntu.com-20160421043902-skyc5cmuqnh1b9la
(richard-wilbur) Update COPYING.txt from the original
 http://www.gnu.org/licenses/gpl-2.0.txt (Only differences were in
 whitespace.) Thanks to Petr Stodulka for pointing out the discrepancy.
 (Richard Wilbur)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# Copyright (C) 2006, 2008-2011 Canonical Ltd
 
1
# Copyright (C) 2006, 2008-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
344
344
        a_registry = registry.Registry()
345
345
        a_registry.register_lazy('obj', "bzrlib.tests.test_registry",
346
346
            'object1')
347
 
        self.assertEquals("bzrlib.tests.test_registry",
 
347
        self.assertEqual("bzrlib.tests.test_registry",
348
348
            a_registry._get_module("obj"))
349
349
 
350
350
    def test_normal_get_module(self):
352
352
            """Something"""
353
353
        a_registry = registry.Registry()
354
354
        a_registry.register("obj", AThing())
355
 
        self.assertEquals("bzrlib.tests.test_registry",
 
355
        self.assertEqual("bzrlib.tests.test_registry",
356
356
            a_registry._get_module("obj"))