![]() store: - Use utils.get_type_from_id() instead of my own (I didn't know it was already there) - Use dict-style instead of attribute-style access to get stix object properties - Convert timezone-aware timestamps to UTC in _timestamp2filename() to ensure that different times always result in different filenames. Also added a couple new tests for _timestamp2filename(), which exercises the timezone conversion code. |
||
---|---|---|
.. | ||
stix2_data | ||
__init__.py | ||
conftest.py | ||
constants.py | ||
test_attack_pattern.py | ||
test_base.py | ||
test_bundle.py | ||
test_campaign.py | ||
test_course_of_action.py | ||
test_custom.py | ||
test_datastore.py | ||
test_datastore_filesystem.py | ||
test_datastore_filters.py | ||
test_datastore_memory.py | ||
test_datastore_taxii.py | ||
test_environment.py | ||
test_external_reference.py | ||
test_fixtures.py | ||
test_granular_markings.py | ||
test_identity.py | ||
test_indicator.py | ||
test_intrusion_set.py | ||
test_kill_chain_phases.py | ||
test_malware.py | ||
test_markings.py | ||
test_memory.py | ||
test_object_markings.py | ||
test_observed_data.py | ||
test_pattern_expressions.py | ||
test_pickle.py | ||
test_properties.py | ||
test_relationship.py | ||
test_report.py | ||
test_sighting.py | ||
test_threat_actor.py | ||
test_tool.py | ||
test_utils.py | ||
test_versioning.py | ||
test_vulnerability.py | ||
test_workbench.py |