code: def verify_datastore_entities(self):
      # Verify 'SubmissionType' entities
      assertCountEqual(
          self,
          [
              self.datastore_client.entity(
                  fake_cloud_client.FakeDatastoreKey(
                      "SubmissionType", "Attacks"
                  )
              ),
              self.datastore_client.entity(
                  fake_cloud_client.FakeDatastoreKey(
                      "SubmissionType", "TargetedAttacks"
                  )
              ),
              self.datastore_client.entity(
                  fake_cloud_client.FakeDatastoreKey(
                      "SubmissionType", "Defenses"
                  )
              ),
          ],
          self.datastore_client.query_fetch(kind="SubmissionType"),
      )
      # Verify 'Submission' entities
      expected_submission_entities = []
      for key_prefix, submission_entries in [
          (("SubmissionType", "Attacks"), self.submissions.attacks),
          (
              ("SubmissionType", "TargetedAttacks"),
              self.submissions.targeted_attacks,
          ),
          (("SubmissionType", "Defenses"), self.submissions.defenses),
      ]:
          for k, v in submission_entries.items():
              entity = self.datastore_client.entity(
                  fake_cloud_client.FakeDatastoreKey(
                      *(key_prefix + ("Submission", k))
                  )
              )
              entity["submission_path"] = v.path
              entity.update(v.participant_id)
              expected_submission_entities.append(entity)
      assertCountEqual(
          self,
          expected_submission_entities,
          self.datastore_client.query_fetch(kind="Submission"),
      )
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import unittest
  from six import assertCountEqual
  from eval_lib import submissions
  from eval_lib.tests import fake_cloud_client
label_desc: Use image node_id 3 for calling the SubmissionsTest obj's underlying member method code with example usage: obj.verify_datastore_entities() without return types