~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/registry/tests/test_prf_log.py

  • Committer: Curtis Hovey
  • Date: 2011-12-24 17:48:54 UTC
  • mto: (14600.2.3 move-webapp)
  • mto: This revision was merged to the branch mainline in revision 14601.
  • Revision ID: curtis.hovey@canonical.com-20111224174854-r6e3hul98t669pr7
Fixed i18n package.

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
# Copyright 2009 Canonical Ltd.  This software is licensed under the
4
4
# GNU Affero General Public License version 3 (see the file LICENSE).
5
5
 
6
 
"""Tests for canonical.launchpad.productreleasefinder.log."""
 
6
"""Tests for productreleasefinder.log."""
7
7
 
8
 
__author__    = "Scott James Remnant <scott@canonical.com>"
 
8
__author__ = "Scott James Remnant <scott@canonical.com>"
9
9
 
10
10
import unittest
11
11
 
39
39
        """get_logger works if deep-level logger is given."""
40
40
        from lp.registry.scripts.productreleasefinder.log import get_logger
41
41
        from logging import getLogger
42
 
        parent1 = getLogger("foo")
 
42
        getLogger("foo")
43
43
        parent2 = getLogger("foo.bar")
44
44
        self.assertEquals(get_logger("test", parent2).name, "foo.bar.test")