~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/testing/sampledata.py

  • Committer: Launchpad Patch Queue Manager
  • Date: 2010-08-04 16:44:19 UTC
  • mfrom: (11265.1.15 no-more-sampledata-0)
  • Revision ID: launchpad@pqm.canonical.com-20100804164419-5e6x1beuy6f2kzto
[r=jml][ui=none][no-qa] Some cleanup of soyuz test code,
        including use of lp.testing.sampledata,
        factory improvements and addition of some matchers.

Show diffs side-by-side

added added

removed removed

Lines of Context:
9
9
 
10
10
__metaclass__ = type
11
11
__all__ = [
 
12
    'BUILDD_ADMIN_USERNAME',
 
13
    'CHROOT_LIBRARYFILEALIAS',
 
14
    'HOARY_DISTROSERIES_NAME',
 
15
    'I386_ARCHITECTURE_NAME',
 
16
    'LAUNCHPAD_DBUSER_NAME',
 
17
    'MAIN_COMPONENT_NAME',
12
18
    'NO_PRIVILEGE_EMAIL',
 
19
    'UBUNTU_DEVELOPER_ADMIN_NAME',
 
20
    'UBUNTU_DISTRIBUTION_NAME',
 
21
    'UBUNTU_UPLOAD_TEAM_NAME',
 
22
    'UBUNTUTEST_DISTRIBUTION_NAME',
 
23
    'WARTY_DISTROSERIES_NAME',
 
24
    'WARTY_ONLY_SOURCEPACKAGENAME',
 
25
    'WARTY_ONLY_SOURCEPACKAGEVERSION',
 
26
    'WARTY_UPDATES_SUITE_NAME',
13
27
    ]
14
28
 
 
29
# Please use names that reveal intent, rather than being purely
 
30
# descriptive, i.e. USER16_NAME isn't as good as
 
31
# UBUNTU_DEVELOPER_NAME. Where intent is tricky to convey in the
 
32
# name, please leave a comment as well.
15
33
 
 
34
# A user with buildd admin rights and upload rights to Ubuntu.
 
35
BUILDD_ADMIN_USERNAME = 'cprov'
 
36
# The LibraryFileAlias of a chroot for attaching to a DistroArchSeries
 
37
CHROOT_LIBRARYFILEALIAS = 1
 
38
HOARY_DISTROSERIES_NAME = 'hoary'
 
39
I386_ARCHITECTURE_NAME = 'i386'
 
40
LAUNCHPAD_DBUSER_NAME = 'launchpad'
 
41
MAIN_COMPONENT_NAME = 'main'
16
42
NO_PRIVILEGE_EMAIL = 'no-priv@canonical.com'
 
43
# A user that is an admin of ubuntu-team, which has upload rights
 
44
# to Ubuntu.
 
45
UBUNTU_DEVELOPER_ADMIN_NAME = 'name16'
 
46
UBUNTU_DISTRIBUTION_NAME = 'ubuntu'
 
47
# A team that has upload rights to Ubuntu
 
48
UBUNTU_UPLOAD_TEAM_NAME = 'ubuntu-team'
 
49
WARTY_DISTROSERIES_NAME = 'warty'
 
50
# A source package name and version for a package only published in
 
51
# warty
 
52
WARTY_ONLY_SOURCEPACKAGENAME = 'mozilla-firefox'
 
53
WARTY_ONLY_SOURCEPACKAGEVERSION = '0.9'
 
54
WARTY_UPDATES_SUITE_NAME = WARTY_DISTROSERIES_NAME + '-updates'