'Test basic get_all method.'

def test_worker_get_all(self):

    self._create_workers(1)
    service = db.service_create(self.ctxt, {})
    workers = self._create_workers(3, service_id=service.id)
    db_workers = db.worker_get_all(self.ctxt, service_id=service.id)
    self._assertEqualListsOfObjects(workers, db_workers)
