cti-python-stix2/stix2
Chris Lenk 13cddf9d6d Move TypeProperty format checks to __init__
TypeProperty uses a fixed value, so check() was never called. This way
also runs the check at object registration time because the wrapper
creates an instance of TypeProperty and doesn't have to wait for the
object to be instantiated so clean() can be called.
Also fix some tests.
2020-04-02 08:17:34 -04:00
..
canonicalization End of changes 2019-09-11 10:44:14 -04:00
confidence update project documentation. 2018-11-28 16:51:00 -05:00
datastore Rename core.py -> parsing.py 2020-03-27 05:53:39 -04:00
markings update check_tlp_marking() to contain new representation for TLP markings 2020-01-28 13:20:20 -05:00
test Move TypeProperty format checks to __init__ 2020-04-02 08:17:34 -04:00
v20 Use TypeProperty.clean() to verify type format 2020-04-01 21:52:04 -04:00
v21 Merge branch 'master' into 365-versioned-classes 2020-04-02 06:02:20 -04:00
__init__.py Rename core.py -> parsing.py 2020-03-27 05:53:39 -04:00
base.py Reorganize bases, use isinstance to check version 2020-03-27 02:40:42 -04:00
custom.py Use TypeProperty.clean() to verify type format 2020-04-01 21:52:04 -04:00
environment.py Rename core.py -> parsing.py 2020-03-27 05:53:39 -04:00
exceptions.py Add duplicate checking to markings and observable extensions, and fix some tests and add some tests. Fixes #363 2020-03-27 14:58:18 -04:00
parsing.py Move TypeProperty format checks to __init__ 2020-04-02 08:17:34 -04:00
pattern_visitor.py Removed a bunch of no-longer-used imports from pattern_visitor.py 2020-02-19 16:45:15 -05:00
patterns.py Forgot to add TLSH to a different regex 2019-11-25 16:14:23 -05:00
properties.py Move TypeProperty format checks to __init__ 2020-04-02 08:17:34 -04:00
utils.py Use TypeProperty.clean() to verify type format 2020-04-01 21:52:04 -04:00
version.py Bump version: 1.3.0 → 1.3.1 2020-03-06 09:50:09 -05:00
workbench.py Fix trailing comma 2020-01-04 18:02:01 -05:00