'The ``DELETE`` method removes the given container from the
configuration.'

def test_delete(self):

    d = self._delete_test(u'mycontainer')
    def deleted(_):
        deployment = self.persistence_service.get()
        origin = next(iter(deployment.nodes.values()))
        self.assertEqual(list(origin.applications.values()), [])
    d.addCallback(deleted)
    return d
