Ejemplo n.º 1
0
 def test_getMergeQueues_no_filter(self):
     # If no filter is specified, then the collection is of all branch
     # merge queues.
     collection = GenericBranchMergeQueueCollection(self.store)
     queue = self.factory.makeBranchMergeQueue()
     self.assertEqual([queue], list(collection.getMergeQueues()))
 def test_getMergeQueues_no_filter(self):
     # If no filter is specified, then the collection is of all branch
     # merge queues.
     collection = GenericBranchMergeQueueCollection(self.store)
     queue = self.factory.makeBranchMergeQueue()
     self.assertEqual([queue], list(collection.getMergeQueues()))
Ejemplo n.º 3
0
 def test_getMergeQueues_no_filter_no_queues(self):
     # If no filter is specified, then the collection is of all branches
     # merge queues. By default, there are no branch merge queues.
     collection = GenericBranchMergeQueueCollection(self.store)
     self.assertEqual([], list(collection.getMergeQueues()))
 def test_getMergeQueues_no_filter_no_queues(self):
     # If no filter is specified, then the collection is of all branches
     # merge queues. By default, there are no branch merge queues.
     collection = GenericBranchMergeQueueCollection(self.store)
     self.assertEqual([], list(collection.getMergeQueues()))