-
-
Notifications
You must be signed in to change notification settings - Fork 211
Added unit test to verify how the dataset object handles comparisons #981
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
Conversation
PGijsbers
left a comment
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 forgot to check the CI results. Have to investigate.
|
I'll wait for Appveyor to complete. Github Actions seems to fail due to too high workload on the server. I will throttle the number of parallel jobs further in the next PR :/ |
Yes, I also noticed that the Github Actions were failing, however, the tests that failed were not affected by the unit test added with what I saw. Let us wait for Appveyor. |
|
I just had a look at the attributes of the dataset, and while the test obviously works, I'm wondering whether a few other attributes should also be excluded from checking, and how we would best test that? The attributes would be |
| "_dataset", | ||
| "data_pickle_file", | ||
| "data_feather_file", | ||
| "feather_attribute_file", |
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'd like to see these defined as a separate set (e.g. cache_fields), because these are not server fields.
Reference Issue
Fixes #577
What does this PR implement/fix? Explain your changes.
Adds unit test to verify the implemented comparison for the dataset object.
How should this PR be tested?
With the newly added unit test.