class_docstr: Check API functionality for a DBSCAN model that has already been created.
class_docstr_tok: ["Check","API","functionality","for","a","DBSCAN","model","that","has","already","been","created","."]
docstr: Ensure that model saving and loading retains all model information.
docstr_tok: ["Ensure","that","model","saving","and","loading","retains","all","model","information","."]
code: def test_save_and_load(self):
      """
      Ensure that model saving and loading retains all model information.
      """
      with test_util.TempDirectory() as f:
          self.model.save(f)
          self.model = tc.load_model(f)
  
          try:
              self.test__list_fields()
              print("Saved model list fields passed")
              self.test_get()
              print("Saved model get passed")
              self.test_summaries()
              print("Saved model summaries passed")
  
          except:
              assert False, "Failed during save and load tests."
          del self.model
  
imports: from __future__ import print_function
  from __future__ import division
  from __future__ import absolute_import
  import copy
  import numpy
  import unittest
  import turicreate
  from .None import util
  from turicreate.util import _assert_sframe_equal
  from turicreate.toolkits._main import ToolkitError
  from .test_knn_classifier import make_classifier_data
  import sys
  import os
label_desc: Use image node_id 5 for calling the ModelMethodsTest obj's underlying member method code with example usage: obj.test_save_and_load() without return types