def test_HA04(self): EE = ExternalEntity("ee") EE.hasPhysicalAccess = True threat = threats["HA04"] self.assertTrue(threat.apply(EE))
def test_HA04(self): EE = ExternalEntity("ee") EE.hasPhysicalAccess = True ThreatObj = Threat( next(item for item in threats_json if item["SID"] == "HA04")) self.assertTrue(ThreatObj.apply(EE))