class_docstr: Tests for the update function of the storage adapter.
class_docstr_tok: ["Tests","for","the","update","function","of","the","storage","adapter","."]
docstr: The storage adapter should not update a statement with tags
  that are duplicates.
docstr_tok: ["The","storage","adapter","should","not","update","a","statement","with","tags","that","are","duplicates","."]
code: def test_update_duplicate_tags(self):
      """
      The storage adapter should not update a statement with tags
      that are duplicates.
      """
      statement = self.adapter.create(text="Testing", tags=["ab"])
      statement.add_tags("ab")
      self.adapter.update(statement)
  
      statements = list(self.adapter.filter())
  
      self.assertEqual(len(statements), 1)
      self.assertEqual(len(statements[0].get_tags()), 1)
      self.assertEqual(statements[0].get_tags(), ["ab"])
  
imports: from unittest import TestCase
  from chatterbot.storage import MongoDatabaseAdapter
  from chatterbot.conversation import Statement
label_desc: Use image node_id 2 for calling the StorageAdapterUpdateTestCase obj's underlying member method code with example usage: obj.test_update_duplicate_tags() without return types