'When merging group_access on a block, the result\'s keys (partitions)
are the union of all partitions specified across all ancestor blocks
(including this one).'

@ddt.data(*PARENT_CHILD_PAIRS)
@ddt.unpack
def test_union_partitions(self, parent, child):

    parent_block = getattr(self, parent)
    child_block = getattr(self, child)
    self.set_group_access(parent_block, {self.PARTITION_1: [self.PARTITION_1_GROUP_1]})
    self.set_group_access(child_block, {self.PARTITION_2: [self.PARTITION_1_GROUP_2]})
    self.verify_group_access(parent_block, {self.PARTITION_1: [self.PARTITION_1_GROUP_1]})
    self.verify_group_access(child_block, {self.PARTITION_1: [self.PARTITION_1_GROUP_1], self.PARTITION_2: [self.PARTITION_1_GROUP_2]})
