From d9fd5b36281c98c1328ac69f331ce3e441615a7e Mon Sep 17 00:00:00 2001 From: Tom Cowland Date: Sun, 6 Aug 2023 09:07:49 -0700 Subject: [PATCH] [Core] Update use of deprecated constants Closes #54 Signed-off-by: Tom Cowland --- plugin/openassetio_manager_bal/BasicAssetLibraryInterface.py | 2 +- tests/fixtures.py | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/plugin/openassetio_manager_bal/BasicAssetLibraryInterface.py b/plugin/openassetio_manager_bal/BasicAssetLibraryInterface.py index 2682e60..0b93747 100644 --- a/plugin/openassetio_manager_bal/BasicAssetLibraryInterface.py +++ b/plugin/openassetio_manager_bal/BasicAssetLibraryInterface.py @@ -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() diff --git a/tests/fixtures.py b/tests/fixtures.py index 6f81dbf..4a8adb1 100644 --- a/tests/fixtures.py +++ b/tests/fixtures.py @@ -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": {