Part of lp.codehosting.codeimport.tests.test_worker View In Hierarchy
Known subclasses: lp.codehosting.codeimport.tests.test_worker.CSCVSActualImportMixin, lp.codehosting.codeimport.tests.test_worker.TestBzrImport, lp.codehosting.codeimport.tests.test_worker.TestBzrSvnImport, lp.codehosting.codeimport.tests.test_worker.TestGitImport
| Method | setUpImport | Set up the objects required for an import. |
| Method | makeImportWorker | Make a new ImportWorker. |
| Method | makeForeignCommit | Commit a revision to the repo described by self.source_details. |
| Method | makeWorkerArguments | Make a list of worker arguments pointing to a real repository. |
| Method | makeSourceDetails | Make a CodeImportSourceDetails pointing to a real repository. |
| Method | getStoredBazaarBranch | Get the Bazaar branch 'worker' stored into its BazaarBranchStore. |
| Method | clearCaches | Clear any caches between worker runs, if necessary. |
| Method | test_import | Undocumented |
| Method | test_sync | Undocumented |
| Method | test_import_script | Undocumented |
| Method | test_script_exit_codes | Undocumented |
This means a BazaarBranchStore, CodeImport and a CodeImportJob.
self.source_details.
Increment self.foreign_commit_count as appropriate.
Override this in your subclass.
This should set self.foreign_commit_count to an appropriate value.
Override this in your subclass.
CodeImportSourceDetails pointing to a real repository.