'Test that worker destroy really deletes the DB entry.'

def test_worker_destroy(self):

    worker = self._create_workers(1)[0]
    res = db.worker_destroy(self.ctxt, id=worker.id)
    self.assertEqual(1, res)
    db_workers = db.worker_get_all(self.ctxt, read_deleted='yes')
    self.assertListEqual([], db_workers)
