Skip to content

Conversation

@trickpatty
Copy link

A handful of tests fail on Mac due to path format incompatibilities. These changes update tests and make them cross-platform compatible.

Scott Kearney added 5 commits August 9, 2024 09:57
Backslashes only work on Windows, but forward slashes are compatible with Windows, Mac, or Linux OSes. With change, TestLoadingConfigAndTryingToFetchManifest passes on Mac and Windows now.
Backslashes only work on Windows, but forward slashes are compatible with Windows, Mac, or Linux OSes. With change, TestRelationshipToDifferentNamespace passes on Mac and Windows now.
…bility.

Mac and Linux OSes do not resolve backslashes. Normalizing the string before loading ensures that model path matches the resolved corpus path.
…bility.

Mac and Linux OSes do not resolve backslashes. Normalizing the path before loading ensures that model path matches the resolved corpus path.
…bility.

Mac and Linux OSes do not resolve backslashes or drive letters. Normalizing the path before testing ensures that adapter path matches the system path.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant