Bazelify tune tests in travis (#6219)

This commit is contained in:
Eric Liang
2019-11-22 13:58:50 -08:00
committed by GitHub
parent 68ac08332b
commit b052bcf1fc
9 changed files with 162 additions and 9 deletions
@@ -104,3 +104,9 @@ class CheckpointManagerTest(unittest.TestCase):
log_error_mock.assert_called_once()
# The newest checkpoint should still be set despite this error.
assert checkpoint_manager.newest_checkpoint == no_attr_checkpoint
if __name__ == "__main__":
import pytest
import sys
sys.exit(pytest.main(["-v", "-s", __file__]))