-
Notifications
You must be signed in to change notification settings - Fork 1
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
518 code list config same as field serialisation #538
518 code list config same as field serialisation #538
Conversation
…h concepts defined elsewhere
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.
Looks sensible, apart from the behaviour tests which aren't clear what they're trying to test.
…serted with variables instead of json object matching Updated behave tests in cube feature so that the cols and data are asserted with variables instead of json object matching
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.
I think it's moving in the right direction, the tests are definitely less brittle now, we just need to make sure we're testing the right things.
] | ||
""" | ||
|
||
Scenario: Output a cube when an inline code list is defined using code list config schema v1.0 and when there are references to concepts defined elsewhere. |
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.
This one should really be asserting that the code list CSV file which has been written to disk has the same as column containing the expected values.
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.
@robons The cols and their content are tested in the following unit tests at test_code_list_config.py
: test_code_list_config
, test_code_list_config_without_schema
, test_code_list_config_with_hierarchy
.
@robons I have replied to your comments below outlining the unit tests as discussed. |
This PR includes the implementations for supporting concepts defined elsewhere when defining a code list using code list config.
Satisfied #518