cti-python-stix2/stix2/test
clenk 8f1ae4e6d3 Add custom properties via 'allow_custom'
Custom properties can be specified by passing them to a STIX object
constructor in the 'custom_properties' argument, or with the
'allow_custom' argument set to True, which will add any unrecognized
keyword arguments as properties on the object. The 'allow_custom'
argument can also be used with the parse() and parse_observable()
functions.
An error is now raised when attempting to parse objects without a 'type'
property, such as external references, kill chain phases, and granular
markings. The object which contains them is what should be parsed, not
these objects themselves.
2017-06-12 13:04:20 -04:00
..
__init__.py Initial package files. 2017-01-17 08:54:39 -08:00
conftest.py Switch to isort for checking import order 2017-05-09 15:10:53 -04:00
constants.py style errors 2017-05-04 16:41:37 -04:00
test_attack_pattern.py Merge pull request #14 from oasis-open/parse-cyber-observables 2017-05-19 09:15:00 -05:00
test_base.py Don't be so strict about exact error message 2017-03-22 08:33:42 -05:00
test_bundle.py Make object attribute access act like dictionary access, raising an 2017-06-07 11:06:20 -04:00
test_campaign.py Switch to isort for checking import order 2017-05-09 15:10:53 -04:00
test_course_of_action.py Switch to isort for checking import order 2017-05-09 15:10:53 -04:00
test_data_sources.py Style/lint fixes 2017-05-31 08:58:14 -05:00
test_external_reference.py Change remaining 'fields' to 'properties' 2017-05-19 12:51:59 -05:00
test_fixtures.py Move fixtures to conftest.py 2017-04-07 15:36:42 -05:00
test_identity.py Add custom properties via 'allow_custom' 2017-06-12 13:04:20 -04:00
test_indicator.py Update ImmutableError test cases. 2017-06-02 07:34:37 -04:00
test_intrusion_set.py Switch to isort for checking import order 2017-05-09 15:10:53 -04:00
test_kill_chain_phases.py Change remaining 'fields' to 'properties' 2017-05-19 12:51:59 -05:00
test_malware.py Update ImmutableError test cases. 2017-06-02 07:34:37 -04:00
test_markings.py Switch to isort for checking import order 2017-05-09 15:10:53 -04:00
test_observed_data.py Some changes to Process and EmailMessage objects. Added tests. 2017-06-08 10:09:18 -04:00
test_properties.py Change remaining 'fields' to 'properties' 2017-05-19 12:51:59 -05:00
test_relationship.py Update ImmutableError test cases. 2017-06-02 07:34:37 -04:00
test_report.py Switch to isort for checking import order 2017-05-09 15:10:53 -04:00
test_sighting.py Change remaining 'fields' to 'properties' 2017-05-19 12:51:59 -05:00
test_threat_actor.py Switch to isort for checking import order 2017-05-09 15:10:53 -04:00
test_tool.py Switch to isort for checking import order 2017-05-09 15:10:53 -04:00
test_utils.py Improve coverage of utils.py 2017-05-22 11:15:55 -04:00
test_versioning.py Make object attribute access act like dictionary access, raising an 2017-06-07 11:06:20 -04:00
test_vulnerability.py Switch to isort for checking import order 2017-05-09 15:10:53 -04:00