cti-python-stix2/stix2/test
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
..
v20 Changed STIX object initialization to formulate a property order 2021-07-06 20:32:58 -04:00
v21 Changed STIX object initialization to formulate a property order 2021-07-06 20:32:58 -04:00
__init__.py
test_hashes.py
test_pattern_equivalence.py
test_properties.py
test_spec_version_detect.py
test_utils_type_checks.py
test_workbench.py