~launchpad-pqm/launchpad/devel

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
IPOTemplate objects have IProductSeries or ISourcePackage as its direct
structural object.

Taking an IPOTemplate for IProductSeries context:

  >>> admin_browser.open(
  ...     'http://translations.launchpad.dev/evolution/trunk/+pots/'
  ...     'evolution-2.2')
  >>> print admin_browser.url
  http://translations.launchpad.dev/evolution/trunk/+pots/evolution-2.2

The Application tabs should point to IProductSeries URLs.

    >>> print_location_apps(admin_browser.contents)
    * Overview - http://launchpad.dev/evolution/trunk
    * Code - http://code.launchpad.dev/evolution
    * Bugs - http://bugs.launchpad.dev/evolution/trunk
    * Blueprints - http://blueprints.launchpad.dev/evolution/trunk
    * Translations (selected) - http://translations.launchpad.dev/evolution/trunk
    * Answers - not linked

Taking an IPOTemplate for ISourcePackage context:

  >>> admin_browser.open(
  ...     'http://translations.launchpad.dev/ubuntu/hoary/+source/evolution/'
  ...     '+pots/evolution-2.2')
  >>> print admin_browser.url
  http://translations.launchpad.dev/ubuntu/hoary/+source/evolution/+pots/evolution-2.2

The Application tabs should point to ISourcePackage URLs.

    >>> print_location_apps(admin_browser.contents)
    * Overview - http://launchpad.dev/ubuntu/hoary/+source/evolution
    * Code - http://code.launchpad.dev/ubuntu/hoary/+source/evolution
    * Bugs - http://bugs.launchpad.dev/ubuntu/hoary/+source/evolution
    * Blueprints - not linked
    * Translations (selected) - http://translations.launchpad.dev/ubuntu/hoary/+source/evolution
    * Answers - not linked