def METHOD_NAME(self):
    self.assertItemsEqual(
        get_user_ids_from_primary_location_ids(
            self.domain, [self.pentos.location_id, self.meereen.location_id]
        ).keys(),
        [self.varys._id, self.tyrion._id, self.daenerys._id]
    )