mirror of
https://github.com/domainaware/parsedmarc.git
synced 2026-08-15 11:53:16 +00:00
Say "inner doc", not "nested doc", in the singular-key test docstrings
Final review sweep: in this codebase "nested" is reserved for the Elasticsearch mapping type, and these InnerDoc-serialization docstrings used it colloquially — the same dual-use-term trap documented in AGENTS.md. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Fable 5
parent
0e90c13475
commit
f60c1539ea
@@ -803,7 +803,7 @@ class TestAggregateDocCombinedResults(unittest.TestCase):
|
||||
def test_spf_result_serializes_under_singular_result_key(self):
|
||||
"""The _SPFResult class previously declared a dead ``results``
|
||||
(plural) field while the save path wrote ``result``; verify the
|
||||
serialized nested doc actually uses the singular key."""
|
||||
serialized inner doc actually uses the singular key."""
|
||||
doc = elastic_module._AggregateReportDoc()
|
||||
doc.add_spf_result(
|
||||
domain="example.org", scope="mfrom", result="pass", human_result=None
|
||||
|
||||
@@ -931,7 +931,7 @@ class TestAggregateDocCombinedResults(unittest.TestCase):
|
||||
def test_spf_result_serializes_under_singular_result_key(self):
|
||||
"""The _SPFResult class previously declared a dead ``results``
|
||||
(plural) field while the save path wrote ``result``; verify the
|
||||
serialized nested doc actually uses the singular key."""
|
||||
serialized inner doc actually uses the singular key."""
|
||||
doc = opensearch_module._AggregateReportDoc()
|
||||
doc.add_spf_result(
|
||||
domain="example.org", scope="mfrom", result="pass", human_result=None
|
||||
|
||||
Reference in New Issue
Block a user