~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/registry/browser/tests/test_packaging.py

  • Committer: Edwin Grubbs
  • Date: 2010-03-03 00:40:03 UTC
  • mto: This revision was merged to the branch mainline in revision 10445.
  • Revision ID: edwin.grubbs@canonical.com-20100303004003-gw8m721krwq2m4oq
Fixed tests.

Show diffs side-by-side

added added

removed removed

Lines of Context:
55
55
        # Delete the packaging
56
56
        user_browser = self.user_browser
57
57
        user_browser.open('http://launchpad.dev/ubuntu/+source/alsa-utils')
58
 
        form = user_browser.getForm("delete_warty_alsa-utils_trunk")
59
 
        form.getControl(name="field.actions.delete_packaging").click()
 
58
        link = user_browser.getLink(
 
59
            url='/ubuntu/warty/+source/alsa-utils/+remove-packaging')
 
60
        link.click()
 
61
        user_browser.getControl('Unlink').click()
60
62
        # Check that the change was committed.
61
63
        login('no-priv@canonical.com')
62
64
        self.assertFalse(packaging_util.packagingEntryExists(