cti-python-stix2/stix2/test/v21
Michael Chisholm 2cda97cf5e Changed STIX object initialization to formulate a property order
and process properties in that order.  This establishes iteration
order on object properties, making the object_properties() method
unnecessary.  So the latter method has been deleted.  All uses
of that method have been removed.

Removed unnecessary deepcopy() in STIXJSONEncoder, to improve
efficiency.  This uncovered a bug which had been affecting
STIXdatetime instances.  Not deepcopying doesn't trip the bug,
which can change serialization format.  This caused a unit
test to fail, which was checking serialization format.  I fixed
the unit test.

Fixed a bug in _STIXBase.__repr__ which caused it to omit all
properties with falsey values.  This caused several unit tests
to break, since they were written against the old buggy repr
format.  Notably, 'revoked=False' was never included in reprs
before, but it is now.
2021-07-06 20:32:58 -04:00
..
stix2_data
__init__.py
conftest.py
constants.py
test_attack_pattern.py
test_base.py
test_bundle.py Merge branch 'master' into dev-extensions-proposal 2021-06-13 01:48:33 -04:00
test_campaign.py
test_confidence.py
test_course_of_action.py
test_custom.py Make extension instances work the same as other objects, with 2021-07-06 14:27:40 -04:00
test_datastore.py
test_datastore_composite.py
test_datastore_filesystem.py
test_datastore_filters.py
test_datastore_memory.py
test_datastore_taxii.py
test_deterministic_ids.py Merge branch 'master' into dev-extensions-proposal 2021-06-13 01:48:33 -04:00
test_environment.py
test_extension_definition.py Changed STIX object initialization to formulate a property order 2021-07-06 20:32:58 -04:00
test_external_reference.py
test_fixtures.py
test_granular_markings.py
test_grouping.py
test_identity.py Changed STIX object initialization to formulate a property order 2021-07-06 20:32:58 -04:00
test_incident.py Changed STIX object initialization to formulate a property order 2021-07-06 20:32:58 -04:00
test_indicator.py Changed STIX object initialization to formulate a property order 2021-07-06 20:32:58 -04:00
test_infrastructure.py
test_intrusion_set.py
test_kill_chain_phases.py
test_language_content.py
test_location.py Changed STIX object initialization to formulate a property order 2021-07-06 20:32:58 -04:00
test_malware.py Merge branch 'master' into dev-extensions-proposal 2021-06-13 01:48:33 -04:00
test_malware_analysis.py Merge branch 'master' into dev-extensions-proposal 2021-06-13 01:48:33 -04:00
test_marking_definition.py
test_markings.py
test_note.py Changed STIX object initialization to formulate a property order 2021-07-06 20:32:58 -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_opinion.py Changed STIX object initialization to formulate a property order 2021-07-06 20:32:58 -04:00
test_parsing.py
test_pattern_equivalence.py
test_pattern_expressions.py
test_pickle.py
test_properties.py Fix tests, add a loophole to allow custom content 2021-06-14 17:34:06 -04:00
test_relationship.py
test_report.py Merge branch 'master' into dev-extensions-proposal 2021-06-13 01:48:33 -04:00
test_sighting.py
test_threat_actor.py Merge branch 'master' into dev-extensions-proposal 2021-06-13 01:48:33 -04:00
test_timestamp_precision.py
test_tool.py
test_utils.py
test_versioning.py
test_vulnerability.py