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
parent
c212c7c678
commit
94bb76f669
|
@ -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(
|
||||
|
|
|
@ -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(
|
||||
|
|
Loading…
Reference in New Issue