Added test for check of data availability and fixed some checks for _recipe.py#455
Added test for check of data availability and fixed some checks for _recipe.py#455bouweandela merged 8 commits intomasterfrom
Conversation
|
In principle approved, but then I saw the failed tests (not the ones fixed by #452 ) - can you check them out pls 🍺 |
These are the ones where @bouweandela needs to step in since I'm not sure about them (I don't know if the test itself is wrong or the function). |
|
Right on, Ill have a closer look too, after coffee ☕ |
|
that test is badly written in |
|
ie if the |
any chance @bouweandela or @JaroCamphuijsen had a look at this pls 🍺 |
|
The goal of the check function is to check that the arguments are within valid range and the goal of the test is to check that an RecipeError is raised if an invalid argument is provided. We should probably use a schema for this kind of checking at some point though. |
|
Ah biutiful, cheers monsieur @bouweandela 🍺 |
This adds missing tests for #98 (where @valeriupredoi was too quick in merging 😉).
I also fixed some syntactic errors in the tests for
_recipe.pywhich prevented them to work correctly (e.g. this explains why a test didn't fail after #432 even though it should have failed). This revealed some errors in the old tests. I couldn't fix two of them since I'm not quite sure how. Can you have a look at them, @bouweandela please? I think you wrote them (test_extract_shape_raisesintests.integration.test_recipe).This PR only affects tests, so I think we can quickly merge it.