def setUp(self): super(FileImporterTestCase, self).setUp() self.fake_librarian = self.useFixture(FakeLibrarian()) self.translation_import_queue = getUtility(ITranslationImportQueue) self.importer_person = self.factory.makePerson()
def test_list_distroseries_request_targets_ignores_product_uploads(self): self.clearQueue() self.useFixture(FakeLibrarian()) self.factory.makeTranslationImportQueueEntry( productseries=self.factory.makeProductSeries()) self.assertEqual([], list_distroseries_request_targets(True))
def setUp(self): super(TestTranslationBranchApprover, self).setUp() self.useFixture(FakeLibrarian()) self.queue = getUtility(ITranslationImportQueue) self.series = self.factory.makeProductSeries()
def setUp(self): super(SmokeTestTestCase, self).setUp() self.fake_librarian = self.useFixture(FakeLibrarian())
def setUp(self): super(TestFakeLibrarian, self).setUp() self.fake_librarian = self.useFixture(FakeLibrarian())