def is_status_acceptable(
            self, resp_status_code, resp_status,
            codes=(requests.codes.created, requests.codes.ok)
    ):
        return (codes in resp_status_code and
                resp_status == consts.LOG_CHUNK_SEND_STATUS.ok)
dataset/ETHPy150Open openstack/fuel-web/nailgun/nailgun/statistics/statsenderd.py/StatsSender.is_status_acceptable/swapped operands of `in`