-
Notifications
You must be signed in to change notification settings - Fork 3.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add DEBUG_USD_SEED_DATA_PATH in config to make seed data flexible #395
Conversation
f29331a
to
1854a9f
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Thanks.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The automatic contract-tests fail with during start of the mock-server with the following error-message:
pydantic.error_wrappers.ValidationError: 1 validation error for Settings
DEBUG_USE_SEED_DATA_PATH
file or directory at path "backend/test_data/generic/test_generic_data.json" does not exist (type=value_error.path.not_exists; path=backend/test_data/generic/test_generic_data.json)
Could you please check & fix?
- correct test_data path in Dockerfile.backend
Thanks for checking! The path of |
Closes #322
Factor out fixed seed data by adding DEBUG_USE_SEED_DATA_PATH in config to control seed data to use