Fix docstring on the unit tests I added. I'd said "partially

cleaned" property, but actually, the cleaning algorithm works on
a dict copy, so aborting cleaning partway through doesn't
actually affect the object in that way.  It would actually cause
the extensions property to be completely uncleaned, rather than
partially cleaned.
master
Michael Chisholm 2019-08-26 17:49:55 -04:00
parent c212c7c678
commit 94bb76f669
2 changed files with 2 additions and 2 deletions

View File

@ -889,7 +889,7 @@ def test_parse_observable_with_custom_extension():
def test_custom_and_spec_extension_mix():
"""
Try to make sure that when allow_custom=True, encountering a custom
extension doesn't result in a partially-cleaned extensions property.
extension doesn't result in a completely uncleaned extensions property.
"""
file_obs = stix2.v20.File(

View File

@ -893,7 +893,7 @@ def test_parse_observable_with_custom_extension():
def test_custom_and_spec_extension_mix():
"""
Try to make sure that when allow_custom=True, encountering a custom
extension doesn't result in a partially-cleaned extensions property.
extension doesn't result in a completely uncleaned extensions property.
"""
file_obs = stix2.v21.File(