def test_INP20(self): process1 = Process("process") process1.disablesiFrames = False threat = threats["INP20"] self.assertTrue(threat.apply(process1))
def test_INP20(self): process1 = Process("process") process1.disablesiFrames = False ThreatObj = Threat( next(item for item in threats_json if item["SID"] == "INP20")) self.assertTrue(ThreatObj.apply(process1))