class_docstr: Unit test class for an already trained model.
class_docstr_tok: ["Unit","test","class","for","an","already","trained","model","."]
docstr: Check the model list fields method.
docstr_tok: ["Check","the","model","list","fields","method","."]
code: def test__list_fields(self):
      """
      Check the model list fields method.
      """
      correct_fields = [
          "classifier",
          "features",
          "num_features",
          "method",
          "num_examples",
          "target",
      ]
  
      self.assertItemsEqual(self.model._list_fields(), correct_fields)
  
imports: from __future__ import print_function
  from __future__ import division
  from __future__ import absolute_import
  import unittest
  import tempfile
  import turicreate
  from turicreate.toolkits._main import ToolkitError
  from turicreate.toolkits._internal_utils import _mac_ver
  from .None import util
  import sys
label_desc: Use image node_id 2 for calling the TextClassifierTest obj's underlying member method code with example usage: obj.test__list_fields() without return types