Skip to content

Commit 5b37c2f

Browse files
Abel Milashclaude
andcommitted
Improve docstrings in test_package_exports.py
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 691a4e0 commit 5b37c2f

1 file changed

Lines changed: 18 additions & 3 deletions

File tree

tests/unit/test_package_exports.py

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,14 @@
88

99

1010
class TestCoreExports(unittest.TestCase):
11-
"""Every name in PowerPlatform.Dataverse.core.__all__ must be importable."""
11+
"""Verify package-level exports for PowerPlatform.Dataverse.core.
12+
13+
Checks that every symbol in __all__ is reachable from the package namespace
14+
and that each re-export is the identical object as its source definition.
15+
"""
1216

1317
def test_all_symbols_importable(self):
18+
"""Every name listed in __all__ is accessible as an attribute of the package."""
1419
import PowerPlatform.Dataverse.core as m
1520

1621
for name in m.__all__:
@@ -39,9 +44,14 @@ def test_identity(self):
3944

4045

4146
class TestModelsExports(unittest.TestCase):
42-
"""Every name in PowerPlatform.Dataverse.models.__all__ must be importable."""
47+
"""Verify package-level exports for PowerPlatform.Dataverse.models.
48+
49+
Checks that every symbol in __all__ is reachable from the package namespace
50+
and that each re-export is the identical object as its source definition.
51+
"""
4352

4453
def test_all_symbols_importable(self):
54+
"""Every name listed in __all__ is accessible as an attribute of the package."""
4555
import PowerPlatform.Dataverse.models as m
4656

4757
for name in m.__all__:
@@ -81,9 +91,14 @@ def test_identity(self):
8191

8292

8393
class TestOperationsExports(unittest.TestCase):
84-
"""Every name in PowerPlatform.Dataverse.operations.__all__ must be importable."""
94+
"""Verify package-level exports for PowerPlatform.Dataverse.operations.
95+
96+
Checks that every symbol in __all__ is reachable from the package namespace
97+
and that each re-export is the identical object as its source definition.
98+
"""
8599

86100
def test_all_symbols_importable(self):
101+
"""Every name listed in __all__ is accessible as an attribute of the package."""
87102
import PowerPlatform.Dataverse.operations as m
88103

89104
for name in m.__all__:

0 commit comments

Comments
 (0)