'Test with split_module->sub_block_category and for both staff and non-staff users.'

@ddt.data(*itertools.product([True, False], ['video', 'problem']))
@ddt.unpack
def test_with_split_block(self, is_user_staff, sub_block_category):

    self.login_and_enroll()
    self.user.is_staff = is_user_staff
    self.user.save()
    self._setup_split_module(sub_block_category)
    video_outline = self.api_response().data
    num_video_blocks = (1 if (sub_block_category == 'video') else 0)
    self.assertEqual(len(video_outline), num_video_blocks)
    for block_index in range(num_video_blocks):
        self._verify_paths(video_outline, [self.section.display_name, self.sub_section.display_name, self.unit.display_name, self.split_test.display_name], block_index)
        self.assertIn(u'split    test    block', video_outline[block_index]['summary']['name'])
