-
Notifications
You must be signed in to change notification settings - Fork 148
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Incorrect errors when validating data with a missiing required column (…
…#1620) * TDD: add test case with missing required header and schema_sync=True detector option in validation of a table resource: test fails * TDD: fix test case by removing fields info related to missing labels in creation of row_stream: test passes * Add test case for validation TableResource with schema_sync=True detector option with two missing required header: test passes * Refacto: factorize test cases and rename test function * Refacto: update field_info directly in row_stream local function just before processing Row creation * Sort imports * Linting: lint and format files * Refacto: Move added block dealing with missing required labels in __open_run_stream() TableResource method * Add test cases --------- Co-authored-by: roll <[email protected]>
- Loading branch information
1 parent
6100dc9
commit 75be599
Showing
2 changed files
with
79 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters