~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/canonical/codehosting/puller/tests/test_acceptance.py

  • Committer: Curtis Hovey
  • Date: 2008-08-28 14:26:30 UTC
  • mto: This revision was merged to the branch mainline in revision 6926.
  • Revision ID: curtis.hovey@canonical.com-20080828142630-y2gcnnlw7w9aldzz
Fixed comment formats to fidn missing persons, dates, and some bugs.

Show diffs side-by-side

added added

removed removed

Lines of Context:
181
181
        transaction.commit()
182
182
        command, retcode, output, error = self.runPuller('mirror')
183
183
        self.assertRanSuccessfully(command, retcode, output, error)
184
 
        # XXX: The first argument used to be db_branch.url, but this triggered
185
 
        # Bug #193253 where for some reason Branch.open via HTTP makes
186
 
        # an incomplete request to the HttpServer leaving a dangling thread.
187
 
        # Our test suite now fails tests leaving dangling threads.
188
 
        # -- StuartBishop 20080312
 
184
        # XXX: StuartBishop 2008-03-12 Bug=193253: The first argument used to
 
185
        # be db_branch.url, but this triggered Bug #193253 where for some
 
186
        # reason Branch.open via HTTP makes an incomplete request to the
 
187
        # HttpServer leaving a dangling thread. Our test suite now fails
 
188
        # tests leaving dangling threads.
189
189
        self.assertMirrored(tree.basedir, db_branch)
190
190
 
191
191
    def _getImportMirrorPort(self):
218
218
        command, retcode, output, error = self.runPuller("import")
219
219
        self.assertRanSuccessfully(command, retcode, output, error)
220
220
 
221
 
        # XXX: Because of Bug #193253, check the branch is mirrored by going
222
 
        # straight to the filesystem, rather than over HTTP. This is to
223
 
        # avoid Bazaar opening an HTTP connection that never closes.
 
221
        # XXX: StuartBishop 2008-03-12 bug=193253: check that the branch is
 
222
        # mirrored by going straight to the filesystem, rather than over HTTP.
 
223
        # This is to avoid Bazaar opening an HTTP connection that never
 
224
        # closes.
224
225
        self.assertMirrored(branch_path, db_branch)
225
226
 
226
227
    def test_mirrorEmpty(self):