docstr: ensure msg_id is always in found records
docstr_tok: ["ensure","msg_id","is","always","in","found","records"]
code: def test_find_records_msg_id(self):
      """ensure msg_id is always in found records"""
      found = self.db.find_records(
          {"msg_id": {"$ne": ""}}, keys=["submitted", "completed"]
      )
      for rec in found:
          assert "msg_id" in rec.keys()
      found = self.db.find_records(
          {"msg_id": {"$ne": ""}}, keys=["submitted"]
      )
      for rec in found:
          assert "msg_id" in rec.keys()
      found = self.db.find_records(
          {"msg_id": {"$ne": ""}}, keys=["msg_id"]
      )
      for rec in found:
          assert "msg_id" in rec.keys()
  
imports: import logging
  import os
  import tempfile
  import time
  from datetime import datetime, timedelta
  from unittest import TestCase
  import pytest
  from jupyter_client.session import Session
  from ipyparallel import util
  from ipyparallel.controller.dictdb import DictDB
  from ipyparallel.controller.hub import init_record
  from ipyparallel.controller.sqlitedb import SQLiteDB
  from ipyparallel.util import utc
label_desc: Use image node_id 10 for calling the TaskDBTest obj's underlying member method code with example usage: obj.test_find_records_msg_id() without return types