'Make sure that ajax request works correctly'

def test_ajax_request(self):

    self.xmodule.is_condition_satisfied = (lambda : True)
    self.xmodule.descriptor.get_children = (lambda : [])
    response = self.ajax_request('No', {})
    html = response['html']
    self.assertEqual(html, [])
