File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -101,6 +101,7 @@ class ExpectationSuite(BaseModel):
101101
102102 @classmethod
103103 def from_yaml (cls , path : str ) -> "ExpectationSuite" :
104+ """Load an expectation suite from a YAML file."""
104105 with open (path ) as f :
105106 raw = yaml .safe_load (f )
106107 if not raw :
@@ -269,6 +270,7 @@ def __init__(
269270 expectations_dir : Optional [str ] = None ,
270271 cases : Optional [List [Tuple [str , TestCase ]]] = None ,
271272 ):
273+ """Initialize with operations map and fixture loader."""
272274 self .operations = operations
273275 self .load_fixture = load_fixture
274276 if cases is not None :
@@ -280,6 +282,7 @@ def __init__(
280282
281283 @property
282284 def cases (self ) -> List [Tuple [str , TestCase ]]:
285+ """Return loaded test cases."""
283286 return self ._cases
284287
285288 def pytest_params (self ):
You can’t perform that action at this time.
0 commit comments