def test_location_edited(self) -> None: edit_location( self.client, self.location_1, "Lima4", 10, 20, None, {"Contact": "*****@*****.**"}, ) edited_location = get_location(self.client, [("City", "Lima4")]) # TODO(T63055774): update test to check updated properties self.assertEqual(self.location_1.id, edited_location.id)
def test_location_edited(self) -> None: edit_location( client=self.client, location=self.location_1, new_name="Lima4", new_lat=10, new_long=20, new_external_id=None, new_properties={"Contact": "*****@*****.**"}, ) edited_location = get_location(client=self.client, location_hirerchy=[("City", "Lima4")]) # TODO(T63055774): update test to check updated properties self.assertEqual(self.location_1.id, edited_location.id)