~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/codehosting/codeimport/tests/test_worker.py

  • Committer: Jelmer Vernooij
  • Date: 2011-09-05 23:17:11 UTC
  • mto: This revision was merged to the branch mainline in revision 13941.
  • Revision ID: jelmer@canonical.com-20110905231711-e2l85s9n53obfrne
Fix number of arguments to makeImportWorker.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1156
1156
        self.assertEquals(
1157
1157
            { "branch": "other" },
1158
1158
            source_transport.get_segment_parameters())
1159
 
        worker = self.makeImportWorker(source_details)
 
1159
        worker = self.makeImportWorker(source_details,
 
1160
            opener_policy=AcceptAnythingPolicy())
1160
1161
        self.assertTrue(self.foreign_commit_count > 1)
1161
1162
        self.assertEqual(
1162
1163
            CodeImportWorkerExitCode.SUCCESS, worker.run())