Skip to content

Commit

Permalink
fixed logconf test
Browse files Browse the repository at this point in the history
Signed-off-by: Kharude, Sachin <sachin.kharude@here.com>
  • Loading branch information
Kharude, Sachin authored and sackh committed Aug 19, 2020
1 parent fc4bd6a commit 8cdab2e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ clean-test: ## remove test and coverage artifacts
rm -fr .mypy_cache
rm -fr .pytest_cache
find . -name '.ipynb_checkpoints' -exec rm -fr {} +
rm -f xyz.log

dockerize:
jupyter-repo2docker --user-id 1000 --env XYZ_TOKEN=${XYZ_TOKEN} .
Expand Down
5 changes: 1 addition & 4 deletions tests/hub/test_logconf.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,4 @@ def test_setup_logging_json(api):
assert log_path.stat().st_size > 0
with open(log_path) as fh:
lines = fh.read()
assert (
"- ERROR - Curl command: curl --request GET "
"https://xyz.api.here.com/hub/spaces/dummy-111" in lines
)
assert " - ERROR - status code: 404, response:" in lines

0 comments on commit 8cdab2e

Please sign in to comment.