'Test removing a gated subsection'

@patch('contentstore.views.item.gating_api.set_required_content')
def test_remove_gate(self, mock_set_required_content):

    self.client.ajax_post(self.seq2_url, data={'prereqUsageKey': '', 'prereqMinScore': ''})
    mock_set_required_content.assert_called_with(self.course.id, self.seq2.location, '', '')
