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()`.
  • Loading branch information
jkhsjdhjs committed Dec 16, 2023
1 parent 5255a1f commit b152e47
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 b152e47

Please sign in to comment.