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:
Sean Whalen
2026-07-24 23:21:29 -04:00
co-authored by Claude Fable 5
parent 0e90c13475
commit f60c1539ea
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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