'Attempting to update a deleted dataset results in a Method Not Allowed
error.'

def test_update_deleted(self):

    created = self._setup_manifestation()
    def got_manifestation(expected_manifestation):
        d = self._test_delete(expected_manifestation.dataset)
        d.addCallback((lambda _: self.assertResult('POST', ('/configuration/datasets/%s' % expected_manifestation.dataset_id.encode('ascii')), {u'primary': unicode(self.NODE_A)}, METHOD_NOT_ALLOWED, {u'description': u'The    dataset    has    been    deleted.'})))
        return d
    created.addCallback(got_manifestation)
    return created
