fix: Making pep8 happy

master
chrisr3d 2019-10-14 14:15:26 +02:00
parent 8809418dab
commit bf45f26bfe
No known key found for this signature in database
GPG Key ID: 6BBED1B63A6D639F
2 changed files with 6 additions and 6 deletions

View File

@ -181,8 +181,8 @@ if __name__ == '__main__':
vulnerability = stix2.v20.Vulnerability(**VULNERABILITY_KWARGS, interoperability=True)
report = stix2.v20.Report(**REPORT_KWARGS, interoperability=True)
bundle = stix2.v20.Bundle(**BUNDLE_KWARGS, interoperability=True,
objects=[attack_pattern, campaign, course_of_action, identity, indicator,
intrusion_set, malware, marking_definition, observed_data, tool,
relationship, sighting, threat_actor, vulnerability, report])
objects=[attack_pattern, campaign, course_of_action, identity, indicator,
intrusion_set, malware, marking_definition, observed_data, tool,
relationship, sighting, threat_actor, vulnerability, report])
stix2.parse(dict(bundle), interoperability=True)
print("All interoperability tests passed !")

View File

@ -188,8 +188,8 @@ if __name__ == '__main__':
vulnerability = stix2.v21.Vulnerability(**VULNERABILITY_KWARGS, interoperability=True)
report = stix2.v21.Report(**REPORT_KWARGS, interoperability=True)
bundle = stix2.v21.Bundle(**BUNDLE_KWARGS, interoperability=True,
objects=[attack_pattern, campaign, course_of_action, identity, indicator,
intrusion_set, malware, marking_definition, observed_data, tool,
relationship, sighting, threat_actor, vulnerability, report])
objects=[attack_pattern, campaign, course_of_action, identity, indicator,
intrusion_set, malware, marking_definition, observed_data, tool,
relationship, sighting, threat_actor, vulnerability, report])
stix2.parse(dict(bundle), interoperability=True)
print("All interoperability tests passed !")