コード例 #1
0
 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()
コード例 #2
0
 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))
コード例 #3
0
 def setUp(self):
     super(TestTranslationBranchApprover, self).setUp()
     self.useFixture(FakeLibrarian())
     self.queue = getUtility(ITranslationImportQueue)
     self.series = self.factory.makeProductSeries()
コード例 #4
0
 def setUp(self):
     super(SmokeTestTestCase, self).setUp()
     self.fake_librarian = self.useFixture(FakeLibrarian())
コード例 #5
0
 def setUp(self):
     super(TestFakeLibrarian, self).setUp()
     self.fake_librarian = self.useFixture(FakeLibrarian())