class_docstr: Calls to :meth:`orion.core.io.database.AbstractDB.write`.
docstr: Query with a non-existent ``_id`` should no upsert something.
docstr_tok: ["Query","with","a","non-existent","``","_id","``","should","no","upsert","something","."]
code: def test_no_upsert(self, orion_db):
      """Query with a non-existent ``_id`` should no upsert something."""
      assert (
          orion_db.write(
              "experiments",
              {"pool_size": 66},
              {"_id": "lalalathisisnew"},
          )
          == 0
      )
  
imports: import pickle
  from datetime import datetime
  import pytest
  from orion.core.io.database import Database, DatabaseError, DuplicateKeyError
  from orion.core.io.database.ephemeraldb import EphemeralDB
  from orion.core.io.database.mongodb import MongoDB
  from orion.core.io.database.pickleddb import PickledDB
  from .conftest import insert_test_collection
label_desc: Use image node_id 6 for calling the TestWrite obj's underlying member method code with example usage: obj.test_no_upsert(orion_db) without return types