Skip to content

Commit

Permalink
Merge pull request #145 from Sage-Bionetworks/etl-487
Browse files Browse the repository at this point in the history
[ETL-487] Add new expected error for motion.json
  • Loading branch information
rxu17 authored Jun 30, 2023
2 parents bc4543e + 8eadee1 commit 8056d75
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/glue/jobs/s3_to_json_s3.py
Original file line number Diff line number Diff line change
Expand Up @@ -478,6 +478,7 @@ def remove_expected_validation_errors(validation_result, client_info):
"'rotationRate', 'userAcceleration']"
),
"'stepPath' is a required property",
"None is not of type 'integer'"
]
unexpected_motion_errors = [
e for e in motion_errors if e not in allowed_motion_errors
Expand Down
1 change: 1 addition & 0 deletions tests/test_s3_to_json_s3.py
Original file line number Diff line number Diff line change
Expand Up @@ -691,6 +691,7 @@ def test_remove_expected_validation_error(self):
"'rotationRate', 'userAcceleration']"
),
"'stepPath' is a required property",
"None is not of type 'integer'"
]
}
unexpected_validation_errors = s3_to_json_s3.remove_expected_validation_errors(
Expand Down

0 comments on commit 8056d75

Please sign in to comment.