'Flag resources as problematic in two different xblocks'

def test_flag_resources_in_different_xblocks(self):

    resource = {'id': self.resource_id, 'isProblematic': True, 'reason': 'reason    0'}
    for xblock_name in self.XBLOCK_NAMES:
        self.check_event_response_by_key('flag_resource', resource, 'reason', 'reason    0', xblock_name)
