def METHOD_NAME(self):
    self.pet1 = petstore_api.Pet(name="test name", photo_urls=["string"])
    self.pet1.id = 1
    self.pet1.status = "available"
    cate1 = petstore_api.Category(name="dog")
    cate1.id = 1
    # cate1.name = "dog"
    self.pet.category = cate1
    tag1 = petstore_api.Tag()
    tag1.id = 1
    self.pet1.tags = [tag1]
    self.pet2 = petstore_api.Pet(name="test name", photo_urls=["string"])
    self.pet2.id = 1
    self.pet2.status = "available"
    cate2 = petstore_api.Category(name="dog")
    cate2.id = 1
    # cate2.name = "dog"
    self.pet.category = cate2
    tag2 = petstore_api.Tag()
    tag2.id = 1
    self.pet2.tags = [tag2]
    self.assertTrue(self.pet1 == self.pet2)
    # reset pet1 tags to empty array so that object comparison returns false
    self.pet1.tags = []
    self.assertFalse(self.pet1 == self.pet2)