code: def test_repr(orion_db: MongoDB):
      assert str(orion_db) == (
          f"MongoDB(host=localhost, name=orion_test, port=27017, username=user, "
          f"password=pass, options={orion_db.options})"
      )
  
imports: import functools
  from timeit import timeit
  import pymongo
  import pytest
  from pymongo import MongoClient
  from orion.core.io.database import Database, DatabaseError, DuplicateKeyError
  from orion.core.io.database.mongodb import AUTH_FAILED_MESSAGES, MongoDB
  from .conftest import insert_test_collection
  from .test_database import get_db
label_desc: Use image node_id 3 for calling a global function with example usage: test_repr(orion_db) without return types