def _TestFetchContacts(self, identity_key, user_id, people_dict, photos_dict=None):
    self._FetchContacts(identity_key, user_id, people_dict, photos_dict)

    # Validate all contacts that should have been created.
    contacts = self._ValidateContacts(identity_key, user_id, people_dict)

    # Validate that last_fetch was set in identity.
    self._validator.ValidateUpdateDBObject(Identity, key=identity_key, last_fetch=util._TEST_TIME)

    # Increment time so that subsequent contacts will use later time.
    util._TEST_TIME += 1

    return contacts
Runs the fetch contacts operation and validates that it creates, updates, and deletes the
dataset/ETHPy150Open viewfinderco/viewfinder/backend/www/test/fetch_contacts_test.py/FetchContactsTestCase._TestFetchContacts