~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/code/windmill/testing.py

  • Committer: Launchpad Patch Queue Manager
  • Date: 2011-06-27 23:10:34 UTC
  • mfrom: (13299.1.18 windmill-death)
  • Revision ID: launchpad@pqm.canonical.com-20110627231034-rykdadu5vb2uqzpz
[r=sinzui,
 stevenk][no-qa] Remove Windmill test infrastructure and annotate old
 tests for refactoring.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# Copyright 2009 Canonical Ltd.  This software is licensed under the
2
 
# GNU Affero General Public License version 3 (see the file LICENSE).
3
 
 
4
 
"""Code-specific testing infrastructure for Windmill."""
5
 
 
6
 
__metaclass__ = type
7
 
__all__ = [
8
 
    'CodeWindmillLayer',
9
 
    ]
10
 
 
11
 
 
12
 
from canonical.testing.layers import BaseWindmillLayer
13
 
 
14
 
 
15
 
class CodeWindmillLayer(BaseWindmillLayer):
16
 
    """Layer for Code Windmill tests."""
17
 
 
18
 
    @classmethod
19
 
    def setUp(cls):
20
 
        cls.facet = 'code'
21
 
        cls.base_url = cls.appserver_root_url(cls.facet)
22
 
        super(CodeWindmillLayer, cls).setUp()