cti-python-stix2/stix2/test/v20
Michael Chisholm d87718c15c Bug fixes, hackage removal, and some pre-commit stylistic
fixes.

- Fixed bugged logic in _STIXBase._check_at_least_one_property(),
and revamped the code to be simpler and clearer.

- Changed custom extension registration to auto-create an
"extension_type" property based on the attribute of that
name on the custom class, if present.

- The custom extension registration change above uncovered
what seemed like a bug in a unit test: a custom extension
was registered, but it was not given an extension type.  The
test used the extension as extension_type="property-extension";
this now causes a standard error about an extra property.  I
fixed the test to assign the custom extension the proper type.
2021-06-30 17:50:00 -04:00
..
stix2_data
__init__.py
conftest.py Add proper customization enforcement for open vocabs. This adds 2021-03-31 16:20:28 -04:00
constants.py
test_attack_pattern.py update test suite for use of .serialize(pretty=True) 2021-03-31 12:39:14 -04:00
test_base.py
test_bundle.py Merge branch 'master' into dev-extensions-proposal 2021-06-13 01:48:33 -04:00
test_campaign.py update test suite for use of .serialize(pretty=True) 2021-03-31 12:39:14 -04:00
test_course_of_action.py update test suite for use of .serialize(pretty=True) 2021-03-31 12:39:14 -04:00
test_custom.py Code style and behavioral improvements in ExtensionsProperty: 2021-06-25 22:20:02 -04:00
test_datastore.py
test_datastore_composite.py
test_datastore_filesystem.py
test_datastore_filters.py Add proper customization enforcement for open vocabs. This adds 2021-03-31 16:20:28 -04:00
test_datastore_memory.py Add proper customization enforcement for open vocabs. This adds 2021-03-31 16:20:28 -04:00
test_datastore_taxii.py
test_environment.py
test_external_reference.py update test suite for use of .serialize(pretty=True) 2021-03-31 12:39:14 -04:00
test_fixtures.py
test_granular_markings.py
test_identity.py update test suite for use of .serialize(pretty=True) 2021-03-31 12:39:14 -04:00
test_indicator.py update test suite for use of .serialize(pretty=True) 2021-03-31 12:39:14 -04:00
test_intrusion_set.py update test suite for use of .serialize(pretty=True) 2021-03-31 12:39:14 -04:00
test_kill_chain_phases.py update test suite for use of .serialize(pretty=True) 2021-03-31 12:39:14 -04:00
test_malware.py update test suite for use of .serialize(pretty=True) 2021-03-31 12:39:14 -04:00
test_marking_definition.py
test_markings.py update test suite for use of .serialize(pretty=True) 2021-03-31 12:39:14 -04:00
test_object_markings.py
test_observed_data.py Bug fixes, hackage removal, and some pre-commit stylistic 2021-06-30 17:50:00 -04:00
test_parsing.py
test_pattern_equivalence.py
test_pattern_expressions.py
test_pickle.py Add proper customization enforcement for open vocabs. This adds 2021-03-31 16:20:28 -04:00
test_properties.py Fix tests, add a loophole to allow custom content 2021-06-14 17:34:06 -04:00
test_relationship.py update test suite for use of .serialize(pretty=True) 2021-03-31 12:39:14 -04:00
test_report.py Merge branch 'master' into dev-extensions-proposal 2021-06-13 01:48:33 -04:00
test_sighting.py update test suite for use of .serialize(pretty=True) 2021-03-31 12:39:14 -04:00
test_threat_actor.py update test suite for use of .serialize(pretty=True) 2021-03-31 12:39:14 -04:00
test_tool.py update test suite for use of .serialize(pretty=True) 2021-03-31 12:39:14 -04:00
test_utils.py
test_versioning.py Add proper customization enforcement for open vocabs. This adds 2021-03-31 16:20:28 -04:00
test_vulnerability.py update test suite for use of .serialize(pretty=True) 2021-03-31 12:39:14 -04:00