-
-
Notifications
You must be signed in to change notification settings - Fork 211
fixes empty listing bug #405
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
Codecov Report
@@ Coverage Diff @@
## develop #405 +/- ##
===========================================
+ Coverage 89.02% 89.09% +0.07%
===========================================
Files 32 32
Lines 2660 2668 +8
===========================================
+ Hits 2368 2377 +9
+ Misses 292 291 -1
Continue to review full report at Codecov.
|
mfeurer
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.
Looks great, only a minor remark.
| if len(datasets) > 0: | ||
| raise ValueError('UnitTest Outdated, tag was already used (please remove)') | ||
|
|
||
| self.assertIsInstance(datasets, dict) |
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.
You should also check that the dictionary is actually empty.
| if len(evaluations) > 0: | ||
| raise ValueError('UnitTest Outdated, got somehow results') | ||
|
|
||
| self.assertIsInstance(evaluations, dict) |
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.
Same here.
| if len(runs) > 0: | ||
| raise ValueError('UnitTest Outdated, got somehow results') | ||
|
|
||
| self.assertIsInstance(runs, dict) |
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.
Same here.
| if len(setups) > 0: | ||
| raise ValueError('UnitTest Outdated, got somehow results') | ||
|
|
||
| self.assertIsInstance(setups, dict) |
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.
Same here.
| if len(tasks) > 0: | ||
| raise ValueError('UnitTest Outdated, got somehow results (tag is used, please adapt)') | ||
|
|
||
| self.assertIsInstance(tasks, dict) |
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.
Same here.
Ensures that listing fn consistently returns a dict