Skip to content

Commit

Permalink
Fixing providers test and fix empty line eof
Browse files Browse the repository at this point in the history
  • Loading branch information
Nazim-crim committed Nov 6, 2024
1 parent 41147b0 commit 3448038
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
1 change: 0 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -844,7 +844,6 @@ docker-clean: ## remove all built docker images (only matching current/latest v
docker rmi -f "$(APP_NAME):latest" || true
docker rmi -f "$(APP_NAME):base" || true


## -- Launchers targets --------------------------------------------------------------------------------------------- ##

.PHONY: start
Expand Down
2 changes: 1 addition & 1 deletion config/weaver.ini.example
Original file line number Diff line number Diff line change
Expand Up @@ -257,4 +257,4 @@ level = NOTSET
formatter = generic

[formatter_generic]
format = [%(asctime)s] %(levelname)-8.8s [%(threadName)s][%(name)s] %(message)s
format = [%(asctime)s] %(levelname)-8.8s [%(threadName)s][%(name)s] %(message)s
2 changes: 1 addition & 1 deletion requirements-dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -50,4 +50,4 @@ cairosvg
multipagetiff
# gdal
rasterio
python-magic
python-magic
3 changes: 2 additions & 1 deletion tests/wps_restapi/test_providers.py
Original file line number Diff line number Diff line change
Expand Up @@ -598,8 +598,9 @@ def test_get_provider_process_literal_values(self):
assert outputs[0]["formats"][1]["default"] is False
assert "maximumMegabytes" not in outputs[0]["formats"][1] # never applies, even with OWSLib update
assert outputs[1]["id"] == "output_log"
assert len(outputs[1]["formats"]) == 1
assert len(outputs[1]["formats"]) == 2
assert outputs[1]["formats"][0]["mediaType"] == ContentType.TEXT_PLAIN
assert outputs[1]["formats"][1]["mediaType"] == ContentType.APP_PDF
assert "encoding" not in outputs[1]["formats"][0]
assert outputs[1]["formats"][0]["default"] is True
assert "maximumMegabytes" not in outputs[1]["formats"][0] # never applies, even with OWSLib update
Expand Down

0 comments on commit 3448038

Please sign in to comment.