-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[AWS SageMaker] Unit tests for Training component (#3722)
* Added additional training unit tests * Add main training function tests * Add full training test coverage * Fix import sys * Fix poorly named test
- Loading branch information
1 parent
d418f57
commit ddd1969
Showing
7 changed files
with
306 additions
and
26 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
[pytest] | ||
addopts = -rA |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
export PYTHONPATH=../../ | ||
|
||
coverage run -m pytest --ignore=tests/test_utils.py --junitxml ./unit_tests.log | ||
coverage report --omit "*/usr/*,tests/*,*__init__*,*/Python/*" | ||
coverage report -m --omit "*/usr/*,tests/*,*__init__*,*/Python/*" |
Oops, something went wrong.