Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions RELEASE_NOTES.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,13 @@ v1.0.0-alpha.x
default of `bal` using the `entity_reference_url_scheme` setting.
This must be set to a simple alphanumeric string.

### Bug fixes

- Added missing fixtures for the `openassetio.test.manager` API
compliance suite test harness.
[#61](https://github.com/OpenAssetIO/OpenAssetIO-Manager-BAL/pull/61)


v1.0.0-alpha.9
--------------

Expand Down
23 changes: 19 additions & 4 deletions tests/fixtures.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
test_library_path = os.path.join(
os.path.dirname(__file__), "resources", "library_apiComplianceSuite.json"
)
blank_library_path = os.path.join(os.path.dirname(__file__), "resources", "library_empty.json")
test_libray = {}

with open(test_library_path, "r", encoding="utf-8") as file:
Expand Down Expand Up @@ -90,14 +91,24 @@
}
},
"Test_initialize": {
"shared": {
"test_when_settings_have_all_keys_then_all_settings_updated": {
"some_settings_with_all_keys": {
"library_path": blank_library_path,
"simulated_query_latency_ms": 0,
"entity_reference_url_scheme": "thingy",
}
},
"test_when_settings_have_invalid_keys_then_all_settings_unchanged": {
"some_settings_with_new_values_and_invalid_keys": {"library_path": "", "cat": True}
},
"test_when_settings_have_invalid_keys_then_raises_KeyError": {
"some_settings_with_new_values_and_invalid_keys": {"library_path": "", "cat": True}
},
"test_when_settings_expanded_then_manager_settings_updated": {
"some_settings_with_all_keys": {"library_path": ""}
"test_when_settings_have_subset_of_keys_then_other_settings_unchanged": {
"some_settings_with_a_subset_of_keys": {"simulated_query_latency_ms": 2}
},
"test_when_subset_of_settings_modified_then_other_settings_unchanged": {
"some_settings_with_a_subset_of_keys": {}
"some_settings_with_a_subset_of_keys": {"simulated_query_latency_ms": 2}
},
},
"Test_entityExists": {
Expand Down Expand Up @@ -138,6 +149,10 @@
"a_reference": RELATEABLE_REF,
"a_relationship_trait_set": known_relationship_traitset,
},
"test_when_batched_then_same_number_of_returned_relationships": {
"a_reference": RELATEABLE_REF,
"a_relationship_trait_set": known_relationship_traitset,
},
"test_when_relationship_trait_set_known_then_all_with_trait_set_returned": {
"a_reference": RELATEABLE_REF,
"a_relationship_trait_set": known_relationship_traitset,
Expand Down