Skip to content

Commit

Permalink
style fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
mishaschwartz committed Dec 9, 2024
1 parent 3b04b6e commit f24ce5c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/test_services.py
Original file line number Diff line number Diff line change
Expand Up @@ -581,7 +581,8 @@ def test_ServiceTHREDDS_custom_config(self):
utils.check_raises(lambda: self.ows.check_request(req), OWSAccessForbidden, msg=msg)

# using unknown prefixes, otherwise allowed file should always be denied
unknown_prefixes = ["ncml", "dap4", "ncss/point"] # purposely take normally allowed THREDDS prefixes, validate active config
# purposely take normally allowed THREDDS prefixes, validate active config
unknown_prefixes = ["ncml", "dap4", "ncss/point"]
allowed_resources = [dir_name, "{}/{}".format(dir_name, file_name), "{}/{}".format(dir_name, file_html_name)]
for prefix in unknown_prefixes:
for target in allowed_resources:
Expand Down

0 comments on commit f24ce5c

Please sign in to comment.