~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/archiveuploader/tests/nascentupload.txt

  • Committer: Curtis Hovey
  • Date: 2011-12-28 17:03:06 UTC
  • mto: This revision was merged to the branch mainline in revision 14605.
  • Revision ID: curtis.hovey@canonical.com-20111228170306-n9fz94h85ckaoaf3
Separate test-authoring classes from test-running classes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
638
638
to set hoary to CURRENT in order to do this because we're not allowed
639
639
to upload to -UPDATES in a DEVELOPMENT series.
640
640
 
641
 
    >>> from canonical.testing.layers import LaunchpadZopelessLayer
 
641
    >>> from lp.testing.layers import LaunchpadZopelessLayer
642
642
    >>> LaunchpadZopelessLayer.switchDbUser('launchpad')
643
643
    >>> from canonical.database.sqlbase import commit
644
644
    >>> hoary.status = SeriesStatus.CURRENT