Skip to content

Commit

Permalink
GetAllShells: filter for non-existing idShorts (fixes #33)
Browse files Browse the repository at this point in the history
  • Loading branch information
otto-ifak committed Sep 16, 2024
1 parent 0ceb9c6 commit 08f7d46
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion aas_test_engines/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -521,7 +521,10 @@ def setup(self, result: AasTestResult) -> Dict[str, List[any]]:
data = _invoke(result, request, self.server)
self.valid_values = {
'limit': [1],
'idShort': [_lookup(data, ['result', 0, 'idShort'])],
'idShort': [
_lookup(data, ['result', 0, 'idShort']),
'does-not-exist',
],
'assetIds': [b64urlsafe(_lookup(data, ['result', 0, 'id']))],
}
try:
Expand Down

0 comments on commit 08f7d46

Please sign in to comment.