cti-python-stix2/stix2/test/v21
Michael Chisholm f88fba6751 Change the stix2 class map structure to be keyed at the top
level with STIX versions in the same format as is used everywhere
else in the API: "X.Y", as opposed to the "vXY" format used by
the version-specific python packages.  This eliminates all of
the awkward conversion from public API format to "vXX" format.

Also a little bit of code rearranging in the registration module
to ensure that some STIX 2.1-specific checks are done whether
version 2.1 is given explicitly or is defaulted to.

In the same module I also added a missing import of
stix2.properties, since my IDE was claiming it could not find a
function from that module.
2021-01-20 16:59:38 -05:00
..
stix2_data Fix the filesystem store to support the new top-level 2.1 SCOs. 2020-02-15 19:02:53 -05:00
__init__.py Create new test subpackages 2018-06-30 19:36:54 -04:00
conftest.py pre-commit stylistic fix 2020-08-19 11:51:47 -04:00
constants.py Fix trailing commas 2020-06-26 16:43:19 -04: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 Remove unnecessary comments 2019-12-06 09:35:36 -05:00
test_bundle.py Fixed all issues brought up in issue #305 by Chris Lenk 2019-11-22 13:24:09 -05: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_confidence.py minor code changes 2018-11-28 16:51:35 -05:00
test_course_of_action.py Fix properties spec version back to 2.1, and re-adjust tests. Fixes #338 2020-03-12 09:24:43 -04: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 Update CompositeDataSource and deduplicate() to handle unversioned 2020-08-17 18:38:29 -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 End of changes 2019-09-11 10:44:14 -04: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_deterministic_ids.py Stylistic pre-commit junk 2020-06-08 17:51:13 -04:00
test_environment.py Fix Location semantic equivalence check for Location objects without the latitude and longitude properties (#467) 2020-11-10 12:55:17 -05:00
test_external_reference.py Fix stylistic issues for pre-commit hooks. 2020-03-05 17:39:35 -05:00
test_fixtures.py Align tests with news additions from 'master' branch. 2018-07-11 09:43:37 -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_grouping.py Improved the exception class hierarchy: 2019-07-19 14:50:11 -04:00
test_identity.py Update v21 test suite. Fixes #245 2019-01-23 10:56:20 -05:00
test_indicator.py some missing fixes... 2021-01-13 19:48:33 -05:00
test_infrastructure.py Changed several *_types properties which were formerly required, 2020-02-25 20:07:47 -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 First pass at making sure everything uses v21 classes and representations 2018-07-03 09:40:51 -04:00
test_language_content.py Change "object_modified" property of LocationContent to be 2019-07-25 16:56:34 -04:00
test_location.py some missing fixes... 2021-01-13 19:48:33 -05:00
test_malware.py Merge pull request #369 from chisholm/malware_os_refs 2020-03-11 23:47:14 -04:00
test_malware_analysis.py fix ordering problem with Class definitions 2020-11-18 19:01:12 -05:00
test_marking_definition.py update test suite to include new property present in TLP Markings 2020-01-28 13:20:58 -05:00
test_markings.py Clean up _register_* functions 2020-04-02 14:15:45 -04:00
test_note.py Update v21 test suite. Fixes #245 2019-01-23 10:56:20 -05: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_opinion.py Fix most unit tests to pass again. Awaiting feedback regarding 2019-07-16 16:10:25 -04: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 v21 test suite. Fixes #245 2019-01-23 10:56:20 -05:00
test_report.py Merge branch 'master' into stix2.1 2019-06-26 12:22:40 -04:00
test_sighting.py pre-commit stylistic fixes 2020-11-16 15:10:06 -05:00
test_threat_actor.py Fix flake8 style error. 2019-07-25 16:58:48 -04:00
test_timestamp_precision.py Fix import sort order for the import sorter precommit hook 2020-03-17 20:26:21 -04: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 Add unit tests for the is_*() utility type checking functions. 2021-01-20 16:59:38 -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 v21 test suite. Fixes #245 2019-01-23 10:56:20 -05:00