Skip to content

Commit

Permalink
[Core] Update use of deprecated constants
Browse files Browse the repository at this point in the history
Closes #54

Signed-off-by: Tom Cowland <[email protected]>
  • Loading branch information
foundrytom committed Aug 7, 2023
1 parent a3f12d3 commit d9fd5b3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ def displayName(self):
return "Basic Asset Library 📖"

def info(self):
return {constants.kField_EntityReferencesMatchPrefix: self.__entity_refrence_prefix()}
return {constants.kInfoKey_EntityReferencesMatchPrefix: self.__entity_refrence_prefix()}

def settings(self, hostSession):
return self.__settings.copy()
Expand Down
4 changes: 3 additions & 1 deletion tests/fixtures.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,9 @@
"Test_identifier": {"test_matches_fixture": {"identifier": IDENTIFIER}},
"Test_displayName": {"test_matches_fixture": {"display_name": "Basic Asset Library 📖"}},
"Test_info": {
"test_matches_fixture": {"info": {constants.kField_EntityReferencesMatchPrefix: "bal:///"}}
"test_matches_fixture": {
"info": {constants.kInfoKey_EntityReferencesMatchPrefix: "bal:///"}
}
},
"Test_initialize": {
"shared": {
Expand Down

0 comments on commit d9fd5b3

Please sign in to comment.