~launchpad-pqm/launchpad/devel

« back to all changes in this revision

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

  • Committer: Launchpad Patch Queue Manager
  • Date: 2011-06-25 08:55:37 UTC
  • mfrom: (13287.1.8 bug-800652)
  • Revision ID: launchpad@pqm.canonical.com-20110625085537-moikyoo2pe98zs7r
[r=jcsackett, julian-edwards][bug=800634,
        800652] Enable and display overrides on sync package uploads.

Show diffs side-by-side

added added

removed removed

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