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 committed Dec 16, 2023
1 parent d294dad commit 50894d8
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 50894d8

Please sign in to comment.