class_docstr: Checks all functions of BlitzDBDALDriver
code: def test_db_get_by_shortened_id(self):
      test_obj = {"foo": "bar_1"}
      result = self.database.set(self.collection, test_obj)
      # Test with substring to get with regex
      result2 = self.database.get_by_shortened_id(
          self.collection, result.get("id")[:10]
      )
      assert result2.get("id") == result.get("id")
  
imports: from __future__ import division
  from __future__ import print_function
  from __future__ import unicode_literals
  import os
  import tempfile
  import datetime
  import platform
  from datmo.core.storage.driver.blitzdb_dal_driver import BlitzDBDALDriver
  from datmo.core.util.exceptions import EntityNotFound, InvalidArgumentType, RequiredArgumentMissing
  from datmo.core.util.misc_functions import create_unique_hash
label_desc: Use image node_id 7 for calling the TestBlitzDBDALDriver obj's underlying member method code with example usage: obj.test_db_get_by_shortened_id() without return types