cti-python-stix2/stix2/test/v20
Michael Chisholm fe2330af07 Improve is_sdo() et al utility functions with respect to
dict/mapping values: do a simple verification of the value's
STIX version, not just its type.  Added a lot more unit tests to
test behavior on dicts.  To make the implementation work, I had
to move the detect_spec_version() function out of the parsing
module and into utils.  So that required small changes at all
its previous call sites.
2021-01-20 16:59:39 -05:00
..
stix2_data Update timestamps in v20 testsuite JSON files 2019-01-23 13:42:25 -05:00
__init__.py Create new test subpackages 2018-06-30 19:36:54 -04:00
conftest.py update test_datastore_taxii.py conftest.py for latest changes in medallion. add extra data used by filter 2020-04-03 17:19:36 -04:00
constants.py Replace most SDO/SRO values in tests with IDs from constants.py 2019-01-29 10:52:59 -05:00
test_attack_pattern.py Drop python-dateutil as a dependency and switch to the builtin 2020-05-20 15:06:53 -04:00
test_base.py Move v20 tests to their own package 2018-07-03 07:02:57 -04:00
test_bundle.py Revert the import in the top-level stix2 package, to v20. This 2019-07-22 16:55:22 -04:00
test_campaign.py Replace most SDO/SRO values in tests with IDs from constants.py 2019-01-29 10:52:59 -05:00
test_course_of_action.py Replace most SDO/SRO values in tests with IDs from constants.py 2019-01-29 10:52:59 -05:00
test_custom.py Change the stix2 class map structure to be keyed at the top 2021-01-20 16:59:38 -05:00
test_datastore.py more pre-commit changes 2018-11-29 13:50:05 -05:00
test_datastore_composite.py Merge branch 'master' of github.com:oasis-open/cti-python-stix2 into stix2.1 2018-11-01 07:57:09 -04:00
test_datastore_filesystem.py Fix bug when adding custom obj to FileSystemSink 2020-07-20 00:04:32 -04:00
test_datastore_filters.py Update v21 test suite. Fixes #245 2019-01-23 10:56:20 -05:00
test_datastore_memory.py all changes from add-trailing-commas v2.0.2 2021-01-13 17:52:15 -05:00
test_datastore_taxii.py Remove 'encoding' param from json.loads 2020-06-26 16:43:19 -04:00
test_environment.py all changes from add-trailing-commas v2.0.2 2021-01-13 17:52:15 -05:00
test_external_reference.py Formatting changes made by the new pre-commit hook 'add trailing commas' 2018-07-13 11:10:05 -04:00
test_fixtures.py Merge branch 'master' of github.com:oasis-open/cti-python-stix2 into stix2.1 2018-07-11 09:41:42 -04:00
test_granular_markings.py add `id` as special-case option in regex. closes #406 2020-06-08 09:27:12 -04:00
test_identity.py Start updating test suites to fix issue 245 2019-01-22 21:25:09 -05:00
test_indicator.py some missing fixes... 2021-01-13 19:48:33 -05:00
test_intrusion_set.py Replace most SDO/SRO values in tests with IDs from constants.py 2019-01-29 10:52:59 -05:00
test_kill_chain_phases.py Update v20 tests to ensure right methods and classes are used 2018-07-05 15:23:25 -04:00
test_malware.py Improved the exception class hierarchy: 2019-07-19 14:50:11 -04:00
test_marking_definition.py update tests to make sure we are testing the serialized instance correctly 2019-05-08 10:36:31 -04:00
test_markings.py Clean up _register_* functions 2020-04-02 14:15:45 -04:00
test_object_markings.py Improve versionability detection when creating new versions 2020-06-05 14:24:16 -04:00
test_observed_data.py all changes from add-trailing-commas v2.0.2 2021-01-13 17:52:15 -05:00
test_parsing.py Change the stix2 class map structure to be keyed at the top 2021-01-20 16:59:38 -05:00
test_pattern_equivalence.py Graph Equivalence (#449) 2020-10-16 11:35:26 -04:00
test_pattern_expressions.py all changes from add-trailing-commas v2.0.2 2021-01-13 17:52:15 -05:00
test_pickle.py Replace most SDO/SRO values in tests with IDs from constants.py 2019-01-29 10:52:59 -05:00
test_properties.py Consolidate version-independent property tests 2020-07-01 09:41:10 -04:00
test_relationship.py Update v20 test suite to fix issue 245 2019-01-22 23:07:20 -05:00
test_report.py Merge branch 'master' into stix2.1 2019-06-26 12:22:40 -04:00
test_sighting.py Merge branch 'master' into stix2.1 2019-06-26 12:22:40 -04:00
test_threat_actor.py Replace most SDO/SRO values in tests with IDs from constants.py 2019-01-29 10:52:59 -05:00
test_tool.py Replace most SDO/SRO values in tests with IDs from constants.py 2019-01-29 10:52:59 -05:00
test_utils.py Improve is_sdo() et al utility functions with respect to 2021-01-20 16:59:39 -05:00
test_versioning.py all changes from add-trailing-commas v2.0.2 2021-01-13 17:52:15 -05:00
test_vulnerability.py Update v20 test suite to fix issue 245 2019-01-22 23:07:20 -05:00