docstr: Test that the confidence value is not saved to the database.
  The confidence attribute on statements is intended to just hold
  the confidence of the statement when it returned as a response to
  some input. Because of that, the value of the confidence score
  should never be stored in the database with the statement.
docstr_tok: ["Test","that","the","confidence","value","is","not","saved","to","the","database",".","The","confidence","attribute","on","statements","is","intended","to","just","hold","the","confidence","of","the","statement","when","it","returned","as","a","response","to","some","input",".","Because","of","that",",","the","value","of","the","confidence","score","should","never","be","stored","in","the","database","with","the","statement","."]
code: def test_confidence(self):
      """
      Test that the confidence value is not saved to the database.
      The confidence attribute on statements is intended to just hold
      the confidence of the statement when it returned as a response to
      some input. Because of that, the value of the confidence score
      should never be stored in the database with the statement.
      """
      statement = self.adapter.create(text="Test statement")
      statement.confidence = 0.5
  
      statement_updated = Statement.objects.get(pk=statement.id)
  
      self.assertEqual(statement_updated.confidence, 0)
  
imports: from django.test import TestCase
  from chatterbot.storage import DjangoStorageAdapter
  from chatterbot.conversation import Statement
  from chatterbot.ext.django_chatterbot.models import Statement
label_desc: Use image node_id 10 for calling the DjangoAdapterFilterTests obj's underlying member method code with example usage: obj.test_confidence() without return types