Skip to content

Commit

Permalink
file-based: implement get schema method/proerty in unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
aldogonzalez8 committed Feb 11, 2025
1 parent 428c669 commit 791241c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions unit_tests/sources/file_based/in_memory_files_source.py
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,10 @@ def load_identity_groups(self, logger: logging.Logger) -> Iterable[Dict[str, Any
def file_permissions_schema(self) -> Dict[str, Any]:
return {"type": "object", "properties": {}}

@property
def identities_schema(self) -> Dict[str, Any]:
return {"type": "object", "properties": {}}

def open_file(
self, file: RemoteFile, mode: FileReadMode, encoding: Optional[str], logger: logging.Logger
) -> IOBase:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,10 @@ def load_identity_groups(self, logger: logging.Logger) -> Iterable[Dict[str, Any
def file_permissions_schema(self) -> Dict[str, Any]:
return {"type": "object", "properties": {}}

@property
def identities_schema(self) -> Dict[str, Any]:
return {"type": "object", "properties": {}}


class TestSpec(AbstractFileBasedSpec):
@classmethod
Expand Down

0 comments on commit 791241c

Please sign in to comment.