def METHOD_NAME(self):
    """Test the _isPreRelease method"""
    tierPolicy = [{"datatier": "SIM", "destinations": ["rse_1"]},
                  {"datatier": "default", "destinations": ["rse_1"]}]
    lifePolicy = [{"releaseType": "pre", "lifetimeSecs": 3},
                  {"releaseType": "default", "lifetimeSecs": 12}]
    policyObj = RelValPolicy(tierPolicy, lifePolicy, ["SIM"], ["rse_1"])
    # first test a broken dataset name
    for dsetName in ("", None), 123:
        with self.assertRaises(RuntimeError):
            policyObj._isPreRelease(dsetName)
    for dsetName in {"/PD/CMSSW_1_2_3_patch1-ProcStr-v1/TIER",
                     "/PD/CMSSW_1_2_3_HLT1-ProcStr-v1/TIER",
                     "/PD/CMSSW_1_2_3-ProcStr-v1/TIER",
                     "/PD/AcqEra-ProcStr-v1/TIER"}:
        self.assertFalse(policyObj._isPreRelease(dsetName))
    self.assertTrue(policyObj._isPreRelease("/PD/CMSSW_1_2_3_pre4-ProcStr-v1/TIER"))