def test_INP07(self): process1 = Process("Process1") process1.usesSecureFunctions = False threat = threats["INP07"] self.assertTrue(threat.apply(process1))
def test_INP07(self): process1 = Process("Process1") process1.usesSecureFunctions = False ThreatObj = Threat( next(item for item in threats_json if item["SID"] == "INP07")) self.assertTrue(ThreatObj.apply(process1))