Skip to content

Commit

Permalink
examples.tutorial_storage: fix assertion
Browse files Browse the repository at this point in the history
Previously this simply duplicated the previous assertion used
to check the result of `obj_store.get_identifiable()`.

Fix #186
  • Loading branch information
jkhsjdhjs authored and s-heppner committed Jan 3, 2024
1 parent c069cf8 commit cdbd2db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion basyx/aas/examples/tutorial_storage.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@
for reference in aas.submodel]

# The first (and only) element of this list should be our example submodel:
assert submodel is tmp_submodel
assert submodel is submodels[0]

# Now, let's manually create a reference to the Property within the submodel. The reference uses two keys, the first one
# identifying the submodel by its identification, the second one resolving to the Property within the submodel by its
Expand Down

0 comments on commit cdbd2db

Please sign in to comment.