'Test removing a subsection as a prerequisite'

@patch('contentstore.views.item.gating_api.remove_prerequisite')
def test_remove_prerequisite(self, mock_remove_prereq):

    self.client.ajax_post(self.seq1_url, data={'isPrereq': False})
    mock_remove_prereq.assert_called_with(self.seq1.location)
