Skip to content

Commit

Permalink
fixup! [Core] Support defaultEntityReference
Browse files Browse the repository at this point in the history
Add docstring to defaultEntityReference test class with a link to the
database file and relevant entry.

Signed-off-by: David Feltell <[email protected]>
  • Loading branch information
feltech committed Aug 29, 2024
1 parent 02c21f2 commit 09717f1
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/bal_business_logic_suite.py
Original file line number Diff line number Diff line change
Expand Up @@ -616,6 +616,11 @@ def test_when_read_only_entity_then_EntityAccessError_returned(self):


class Test_defaultEntityReference(FixtureAugmentedTestCase):
"""
Tests for the defaultEntityReference method.
Uses the `defaultEntities` entry in library_apiComplianceSuite.json.
"""
def test_when_read_trait_set_known_then_expected_reference_returned(self):
expected = [
self._manager.createEntityReference("bal:///a_default_read_entity_for_a_and_b"),
Expand Down

0 comments on commit 09717f1

Please sign in to comment.