'Get url for the specified xblock handler'

def get_handler_url(self, handler, xblock_name=None):

    if (xblock_name is None):
        xblock_name = TestCrowdsourceHinter.XBLOCK_NAMES[0]
    return reverse('xblock_handler', kwargs={'course_id': self.course.id.to_deprecated_string(), 'usage_id': quote_slashes(self.course.id.make_usage_key('crowdsourcehinter', xblock_name).to_deprecated_string()), 'handler': handler, 'suffix': ''})
