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 Dec 19, 2023
1 parent 5e08a46 commit 3031ccf
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 @@ -97,7 +97,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 id, the second one resolving to the Property within the submodel by its
Expand Down

0 comments on commit 3031ccf

Please sign in to comment.