cti-python-stix2/stix2/test
Michael Chisholm 3adf7800a8 Changed how filters work, with respect to datetime objects.
Timestamp properties can now be checked against filter values
which are either strings or datetime objects, using datetime
semantics (previously, it reduced to a string compare).
If a stix object property is datetime-valued and the filter
value is a string, the string is parsed to a datetime object,
rather than the other way around.

Filtering in the filesystem store now parses JSON dicts to
_STIXBase objects before applying the filters.

Due to the parsing change, bad JSON content can produce a
different kind of error, so I had to change one of the tests.
2018-11-27 17:36:17 -05:00
..
stix2_data Fix some more improper exception re-raises in the filesystem 2018-11-27 15:24:09 -05:00
__init__.py Initial package files. 2017-01-17 08:54:39 -08:00
conftest.py GH-188: WIP: Converting all IDs to be valid UUID v4. 2018-06-27 11:35:55 -05:00
constants.py Sort constants. 2018-06-27 11:36:17 -05:00
test_attack_pattern.py Fix pycodestyle/isort issues 2018-02-19 15:03:20 -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 GH-188: WIP: Converting all IDs to be valid UUID v4. 2018-06-27 11:35:55 -05:00
test_campaign.py Fix pycodestyle/isort issues 2018-02-19 15:03:20 -05:00
test_course_of_action.py Fix pycodestyle/isort issues 2018-02-19 15:03:20 -05:00
test_custom.py Use consistent errors for observable extensions 2018-11-01 17:23:55 -04:00
test_datastore.py GH-188: WIP: Converting all IDs to be valid UUID v4. 2018-06-27 11:35:55 -05:00
test_datastore_filesystem.py Changed how filters work, with respect to datetime objects. 2018-11-27 17:36:17 -05:00
test_datastore_filters.py Merge pull request #203 from oasis-open/200-filter-contains 2018-07-05 15:47:09 -05:00
test_datastore_memory.py Added support to multi-version memory stores for markings. Also 2018-10-17 20:54:53 -04:00
test_datastore_taxii.py Fixed a test fixture to call the cti-taxii-client Collection 2018-09-07 17:47:24 -04:00
test_environment.py Fixed Memory source/sink/store so that it supports multiple versions 2018-10-15 18:02:49 -04:00
test_external_reference.py Fix deprecated 3.6 backslash-character pairs 2018-04-11 15:46:17 -04:00
test_fixtures.py GH-188: WIP: Converting all IDs to be valid UUID v4. 2018-06-27 11:35:55 -05:00
test_granular_markings.py Add a couple granular markings tests 2018-03-30 13:12:51 -04:00
test_identity.py GH-188: WIP: Converting all IDs to be valid UUID v4. 2018-06-27 11:35:55 -05:00
test_indicator.py GH-188: WIP: Converting all IDs to be valid UUID v4. 2018-06-27 11:35:55 -05:00
test_intrusion_set.py Fix pycodestyle/isort issues 2018-02-19 15:03:20 -05:00
test_kill_chain_phases.py Fix pycodestyle/isort issues 2018-02-19 15:03:20 -05:00
test_malware.py GH-188: WIP: Converting all IDs to be valid UUID v4. 2018-06-27 11:35:55 -05:00
test_markings.py Fix `created` millisecond precision in TLPs 2018-10-25 13:58:21 -04:00
test_memory.py Fix import order to satisfy isort-check 2018-10-15 19:23:28 -04:00
test_object_markings.py Fix pycodestyle/isort issues 2018-02-19 15:03:20 -05:00
test_observed_data.py GH-194: Remove unnecessary allow_custom kwarg. 2018-06-21 12:15:28 -05:00
test_pattern_expressions.py added to pattern guide; reverting pattern str conversion (as was already proper) 2018-08-30 11:57:20 -04:00
test_pickle.py Pickle-proof stix objects 2018-06-06 15:30:45 -04:00
test_properties.py Use consistent errors for observable extensions 2018-11-01 17:23:55 -04:00
test_relationship.py GH-188: WIP: Converting all IDs to be valid UUID v4. 2018-06-27 11:35:55 -05:00
test_report.py GH-188: Update error message for invalid IDs. 2018-07-05 11:25:48 -05:00
test_sighting.py GH-188: WIP: Converting all IDs to be valid UUID v4. 2018-06-27 11:35:55 -05:00
test_threat_actor.py Fix pycodestyle/isort issues 2018-02-19 15:03:20 -05:00
test_tool.py Provide default for revoked, sighting:summary. 2018-04-16 14:37:07 -04:00
test_utils.py GH-188: WIP: Converting all IDs to be valid UUID v4. 2018-06-27 11:35:55 -05:00
test_versioning.py Increase versioning code coverage slightly 2018-03-16 16:38:29 -04:00
test_vulnerability.py Fix pycodestyle/isort issues 2018-02-19 15:03:20 -05:00
test_workbench.py Pass allow_custom to ExtensionsProperty 2018-05-16 12:14:33 -04:00