class_docstr: Test Trial object and class.
docstr: Convert to dictionary form for database using ``dict``.
docstr_tok: ["Convert","to","dictionary","form","for","database","using","``","dict","``","."]
code: def test_conversion_to_dict(self, trial_config):
      """Convert to dictionary form for database using ``dict``."""
      t = Trial(**trial_config)
      assert t.to_dict() == trial_config
  
imports: import copy
  import datetime
  import os
  import warnings
  import bson
  import numpy
  import pytest
  from orion.core.worker.trial import Trial
label_desc: Use image node_id 11 for calling the TestTrial obj's underlying member method code with example usage: obj.test_conversion_to_dict(trial_config) without return types