def test_multi_set(self):
        kv = self.gen_kv_dict(prefix='set_multi')
        rvs = self.cb.upsert_multi(kv)
        self.assertTrue(rvs.all_ok)
        for k, v in rvs.items():
            self.assertTrue(v.success)
            self.assertTrue(v.cas > 0)

        for k, v in rvs.items():
            self.assertTrue(rvs in k)
            self.assertTrue(rvs[k].success)

        self.assertRaises((ArgumentError,TypeError), self.cb.upsert_multi, kv,
                          cas = 123)
dataset/ETHPy150Open couchbase/couchbase-python-client/couchbase/tests/cases/set_t.py/UpsertTest.test_multi_set/swapped operands of `in`