'Access checks are correctly enforced on the block when a single group
is specified for a single partition.'

@ddt.data(*PARENT_CHILD_PAIRS)
@ddt.unpack
@resolve_attrs
def test_has_access_single_partition_single_group(self, block_specified, block_accessed):

    self.set_group_access(block_specified, {self.animal_partition.id: [self.cat_group.id]})
    self.check_access(self.red_cat, block_accessed, True)
    self.check_access(self.blue_dog, block_accessed, False)
    self.check_access(self.white_mouse, block_accessed, False)
    self.check_access(self.gray_worm, block_accessed, False)
    self.ensure_staff_access(block_accessed)
