def testNotDuplicateFoundError(self):

        db = current.db
        s3db = current.s3db
        deployment_settings = current.deployment_settings

        with self.assertRaises(KeyError):
            self.resource.merge(self.id1, 0)

        # Check for proper rollback
        ptable = s3db.pr_person
        query = ptable._id.belongs((self.id1, self.id2))
        rows = db(query).select(ptable._id, limitby=(0, 2))
        self.assertEqual(len(rows), 0)

    # -------------------------------------------------------------------------
Query for the results of a data dump.
dataset/ETHPy150Open sahana/eden/modules/unit_tests/s3/s3resource.py/MergePersonsTests.testNotDuplicateFoundError--crossover with--dataset/ETHPy150Open Kitware/minerva/server/utility/bsve/bsve_utility.py/BsveUtility.data_dump_result