0dd6462d60 
								
							
								 
							
						 
						
							
							
								
								Add some unit tests which try to version marking-definitions.  
							
							
							
						 
						
							2021-01-28 23:02:23 -05:00  
				
					
						
							
							
								 
						
							
							
								c74d06aadc 
								
							
								 
							
						 
						
							
							
								
								Improve versioning.new_version() to better handle custom objects  
							
							... 
							
							
							
							and dicts, and add better raised exception types if versioning
couldn't be done.  I changed workbench monkeypatching a bit, to
copy some class attributes over to the workbench wrapper
class-like callables, since some code expected those attributes
to be there (e.g. the versioning code). 
							
						 
						
							2021-01-28 23:02:23 -05:00  
				
					
						
							
							
								 
						
							
							
								38067a6ec7 
								
							
								 
							
						 
						
							
							
								
								pre-commit stylistic fixes  
							
							
							
						 
						
							2021-01-20 20:49:01 -05:00  
				
					
						
							
							
								 
						
							
							
								5aadf1ae91 
								
							
								 
							
						 
						
							
							
								
								Add some unit tests for attempting to change ID contributing  
							
							... 
							
							
							
							properties of a 2.1 SCO with UUIDv5 ID, when creating a new
version. 
							
						 
						
							2021-01-20 19:16:22 -05:00  
				
					
						
							
							
								 
						
							
							
								85c14d1502 
								
							
								 
							
						 
						
							
							
								
								all changes from add-trailing-commas v2.0.2  
							
							
							
						 
						
							2021-01-13 17:52:15 -05:00  
				
					
						
							
							
								 
						
							
							
								9c5f950d5b 
								
							
								 
							
						 
						
							
							
								
								Add a new_version() restriction preventing SCO ID contributing  
							
							... 
							
							
							
							properties from being changed, if a UUIDv5 is in use.  Changing
one of those properties would imply an ID change, which is not
allowed across versions.  Also:
- add a trailing comma
- change unchangable_properties to a set instead of a list,
  in case there are dupe props between STIX_UNMOD_PROPERTIES and
  sco_locked_props 
							
						 
						
							2020-06-05 14:24:16 -04:00  
				
					
						
							
							
								 
						
							
							
								5522050899 
								
							
								 
							
						 
						
							
							
								
								Improve versionability detection when creating new versions  
							
							... 
							
							
							
							of objects.  Move versioning-related stuff out of stix2.utils
to its own module.  Some misc versioning-related fixes. 
							
						 
						
							2020-06-05 14:24:16 -04:00  
				
					
						
							
							
								 
						
							
							
								a9ac7ce838 
								
							
								 
							
						 
						
							
							
								
								pre-commit hook changes, e.g. trailing commas, import sorting,  
							
							... 
							
							
							
							flake8 style. 
							
						 
						
							2020-03-17 18:26:57 -04:00  
				
					
						
							
							
								 
						
							
							
								4aa69fa7c9 
								
							
								 
							
						 
						
							
							
								
								Add support for enforcing STIX 2.1 minimum precision requirement  
							
							... 
							
							
							
							on versioning timestamps. 
							
						 
						
							2020-03-16 20:25:38 -04:00  
				
					
						
							
							
								 
						
							
							
								c98fcafb1a 
								
							
								 
							
						 
						
							
							
								
								Update tests to address conformance to WD04 specs  
							
							
							
						 
						
							2019-07-01 15:26:30 -04:00  
				
					
						
							
							
								 
						
							
							
								ad76e7155c 
								
							
								 
							
						 
						
							
							
								
								MALWARE RESTORE POINT - Reverted changes to Malware based on STIX 2.1 CSD01  
							
							... 
							
							
							
							Use this commit to restore Malware changes. 
							
						 
						
							2018-07-25 13:34:56 -04:00  
				
					
						
							
							
								 
						
							
							
								51a499cb33 
								
							
								 
							
						 
						
							
							
								
								Formatting changes made by the new pre-commit hook 'add trailing commas'  
							
							... 
							
							
							
							closes  #189  
						
							2018-07-13 11:10:05 -04:00  
				
					
						
							
							
								 
						
							
							
								965d7fa788 
								
							
								 
							
						 
						
							
							
								
								Update v20 and v21 tests  
							
							... 
							
							
							
							In v20, only minor stuff that was addressing wrong spec. In v21, align tests with new/changed properties in the specs 
							
						 
						
							2018-07-12 14:33:00 -04:00  
				
					
						
							
							
								 
						
							
							
								ce42c02cee 
								
							
								 
							
						 
						
							
							
								
								Fix tests that use property objects to call in the right path  
							
							
							
						 
						
							2018-07-10 15:56:22 -04:00  
				
					
						
							
							
								 
						
							
							
								04680d8a3d 
								
							
								 
							
						 
						
							
							
								
								First pass at making sure everything uses v21 classes and representations  
							
							
							
						 
						
							2018-07-03 09:40:51 -04:00  
				
					
						
							
							
								 
						
							
							
								da5b16dc2f 
								
							
								 
							
						 
						
							
							
								
								Create v21 test package with new spec changes  
							
							
							
						 
						
							2018-07-03 07:00:18 -04:00