~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/canonical/librarian/tests/test_smoketest.py

  • Committer: Launchpad Patch Queue Manager
  • Date: 2011-10-04 10:57:37 UTC
  • mfrom: (14087.1.1 bug-865892)
  • Revision ID: launchpad@pqm.canonical.com-20111004105737-ijv9ddheh0qj7ak8
[r=lifeless][bug=865892][no-qa] Extend the librarian smoketest to
        verify both http_url and getFileByAlias.

Show diffs side-by-side

added added

removed removed

Lines of Context:
71
71
        # and return the file's HTTP URL works.
72
72
        self.assertEquals(
73
73
            store_file(self.fake_librarian),
74
 
            'http://localhost:58000/93/smoke-test-file')
 
74
            (93, 'http://localhost:58000/93/smoke-test-file'))
75
75
 
76
76
    def test_good_data(self):
77
77
        # If storing and retrieving both the public and private files work,