Skip to content

Commit

Permalink
Fix invalid operation names
Browse files Browse the repository at this point in the history
  • Loading branch information
otto-ifak committed Sep 16, 2024
1 parent 6f93102 commit e98c3e6
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions aas_test_engines/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -239,17 +239,17 @@ def _extend(data: Dict[str, List[str]]) -> dict:
# Submodel API
"GetSubmodel",
"GetSubmodel-Metadata",
"GetSubmodel-Valueonly",
"GetSubmodel-ValueOnly",
"GetSubmodel-Reference",
"GetSubmodel-Path",
"GetAllSubmodelElements",
"GetAllSubmodelElements-Metadata",
"GetAllSubmodelElements-Valueonly",
"GetAllSubmodelElements-ValueOnly",
"GetAllSubmodelElements-Reference",
"GetAllSubmodelElements-Path",
"GetSubmodelElementByPath",
"GetSubmodelElementByPath-Metadata",
"GetSubmodelElementByPath-Valueonly",
"GetSubmodelElementByPath-ValueOnly",
"GetSubmodelElementByPath-Reference",
"GetSubmodelElementByPath-Path",
"GetFileByPath",
Expand Down Expand Up @@ -340,9 +340,9 @@ def _extend(data: Dict[str, List[str]]) -> dict:
# Submodel API
'GetAllSubmodelElements_SubmodelRepository',
'GetAllSubmodelElements-Metadata_SubmodelRepository',
'GetAllSubmodelElements-ValueOnly_SubmodelRepository',
'GetAllSubmodelElements-Reference_SubmodelRepository',
'GetAllSubmodelElements-Path_SubmodelRepository',
'GetAllSubmodelElements-ValueOnly_SubmodelRepo',
'GetAllSubmodelElements-Reference_SubmodelRepo',
'GetAllSubmodelElements-Path_SubmodelRepo',
"GetSubmodelElementByPath_SubmodelRepo",
"GetSubmodelElementByPath-Metadata_SubmodelRepo",
"GetSubmodelElementByPath-ValueOnly_SubmodelRepo",
Expand Down Expand Up @@ -978,7 +978,7 @@ def check_in_sync():
operations = _available_suites[suite]
for op in operations:
if op not in spec.open_api.operations:
raise AasTestToolsException(f"Unknown operation {suite}")
raise AasTestToolsException(f"Unknown operation {op}")


def execute_tests(server: str, suite: str, version: str = _DEFAULT_VERSION, conf: ExecConf = ExecConf()) -> AasTestResult:
Expand Down

0 comments on commit e98c3e6

Please sign in to comment.