def testArchiveSuper(self):

        assertEqual = self.assertEqual
        assertTrue = self.assertTrue

        s3db = current.s3db

        master_id = self.master_id

        # Get the super_id
        table = s3db.del_master
        record = table[master_id]
        super_id = record["del_super_id"]

        # Delete the master record
        resource = s3db.resource("del_master", id=master_id)
        success = resource.delete()
        assertEqual(success, 1)
        assertEqual(resource.error, None)

        # Master record is deleted
        record = table[master_id]
        assertTrue(record.deleted)
        assertEqual(record.del_super_id, None)

        # Super-record is deleted
        stable = s3db.del_super
        srecord = stable[super_id]
        assertTrue(srecord.deleted)

        # Check callbacks
        assertEqual(self.master_deleted, master_id)
        assertEqual(self.super_deleted, super_id)
        assertEqual(self.component_deleted, 0)

    # -------------------------------------------------------------------------
Determine if the process abstract is a link.
dataset/ETHPy150Open sahana/eden/modules/unit_tests/s3/s3resource.py/ResourceDeleteTests.testArchiveSuper--crossover with--dataset/ETHPy150Open tethysplatform/tethys/tethys_services/utilities.py/abstract_is_link