Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
move this test to a more reliable server
Browse files Browse the repository at this point in the history
ocefpaf committed May 29, 2023
1 parent ccccc0d commit 2647049
Showing 2 changed files with 259 additions and 1 deletion.
258 changes: 258 additions & 0 deletions compliance_checker/tests/cassettes/test_erddap.yaml
Original file line number Diff line number Diff line change
@@ -235,4 +235,262 @@ interactions:
status:
code: 200
message: ''
- request:
body: null
headers:
Accept:
- '*/*'
Accept-Encoding:
- gzip, deflate, br
Connection:
- keep-alive
User-Agent:
- python-requests/2.31.0
method: HEAD
uri: http://www.neracoos.org/erddap/griddap/WW3_EastCoast_latest
response:
body:
string: ''
headers:
Access-Control-Allow-Origin:
- '*'
CF-Cache-Status:
- DYNAMIC
CF-RAY:
- 7cefc2f44d9ca603-GRU
Connection:
- keep-alive
Content-Type:
- text/plain
Date:
- Mon, 29 May 2023 15:27:27 GMT
Last-Modified:
- Mon, 29 May 2023 15:27:27 GMT
Location:
- http://www.neracoos.org/erddap/griddap/WW3_EastCoast_latest.html
NEL:
- '{"success_fraction":0,"report_to":"cf-nel","max_age":604800}'
Report-To:
- '{"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v3?s=YEtj%2FX33ibb4QyKZSR75KGY6EBTxXgAha99m4lyGcEJ5BLUyBp4NrH6qjDpOoMdZ1c2wRraN%2F5%2FdwqbNahlIsrWlHavCxhq8SBUUBUxEQ9mS9rkbK%2B2lnBo9ewxTltFHXHE%3D"}],"group":"cf-nel","max_age":604800}'
Server:
- cloudflare
erddap-server:
- '1.82'
xdods-server:
- dods/3.7
status:
code: 302
message: Found
- request:
body: null
headers:
Accept:
- '*/*'
Accept-Encoding:
- gzip, deflate, br
Connection:
- keep-alive
User-Agent:
- python-requests/2.31.0
method: HEAD
uri: http://www.neracoos.org/erddap/griddap/WW3_EastCoast_latest.html
response:
body:
string: ''
headers:
Access-Control-Allow-Origin:
- '*'
CF-Cache-Status:
- DYNAMIC
CF-RAY:
- 7cefc2f69ef6a603-GRU
Connection:
- keep-alive
Content-Encoding:
- gzip
Content-Type:
- text/html;charset=UTF-8
Date:
- Mon, 29 May 2023 15:27:27 GMT
Last-Modified:
- Mon, 29 May 2023 15:27:27 GMT
NEL:
- '{"success_fraction":0,"report_to":"cf-nel","max_age":604800}'
Report-To:
- '{"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v3?s=Loi%2FT4s7mncK4%2FXLzLWjp3XuMCOx9WKgjuMEf5pvM0mvcFBC6fj13XyJfIr8cGV0vGZKfOH1NGb8QkH0OSasz1N%2BsuIdi39T3Bsh4%2Fu2pJT96Vf%2BaJXF3cz8APW9wxSgcPM%3D"}],"group":"cf-nel","max_age":604800}'
Server:
- cloudflare
erddap-server:
- '1.82'
xdods-server:
- dods/3.7
status:
code: 200
message: OK
- request:
body: null
headers:
Accept:
- '*/*'
Accept-Encoding:
- gzip, deflate, br
Connection:
- keep-alive
User-Agent:
- python-requests/2.31.0
method: HEAD
uri: http://www.neracoos.org/erddap/griddap/WW3_EastCoast_latest
response:
body:
string: ''
headers:
Access-Control-Allow-Origin:
- '*'
CF-Cache-Status:
- DYNAMIC
CF-RAY:
- 7cefc2f7a8791abf-GRU
Connection:
- keep-alive
Content-Type:
- text/plain
Date:
- Mon, 29 May 2023 15:27:28 GMT
Last-Modified:
- Mon, 29 May 2023 15:27:28 GMT
Location:
- http://www.neracoos.org/erddap/griddap/WW3_EastCoast_latest.html
NEL:
- '{"success_fraction":0,"report_to":"cf-nel","max_age":604800}'
Report-To:
- '{"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v3?s=ea%2F6ptuikuevz2IrQcSiABs0JG4kVkwHpOlX8k0DSLMlNqqafO73eUl%2Bprvnl%2B%2BDkHNN0HXVZVzA4APRByUS0GI6mG4nE5pDD8P7aH8kb%2F6eJG4WUPa93kZCdSyEdRqgny0%3D"}],"group":"cf-nel","max_age":604800}'
Server:
- cloudflare
erddap-server:
- '1.82'
xdods-server:
- dods/3.7
status:
code: 302
message: Found
- request:
body: null
headers:
Accept:
- '*/*'
Accept-Encoding:
- gzip, deflate, br
Connection:
- keep-alive
User-Agent:
- python-requests/2.31.0
method: HEAD
uri: http://www.neracoos.org/erddap/griddap/WW3_EastCoast_latest.html
response:
body:
string: ''
headers:
Access-Control-Allow-Origin:
- '*'
CF-Cache-Status:
- DYNAMIC
CF-RAY:
- 7cefc2f9ca501abf-GRU
Connection:
- keep-alive
Content-Encoding:
- gzip
Content-Type:
- text/html;charset=UTF-8
Date:
- Mon, 29 May 2023 15:27:28 GMT
Last-Modified:
- Mon, 29 May 2023 15:27:28 GMT
NEL:
- '{"success_fraction":0,"report_to":"cf-nel","max_age":604800}'
Report-To:
- '{"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v3?s=QYxn72WiS6sitnvlhuw8fqFkuY6IKbkBvul7QyWHbtIVhDk0zmOgi492RHLj2soZBL%2BajoI6OXbE%2BsuoVIBNdv05rihPNx30iDZhOWSXCVh7tx6YFbzJJf2yNxhdSBnFe1Y%3D"}],"group":"cf-nel","max_age":604800}'
Server:
- cloudflare
erddap-server:
- '1.82'
xdods-server:
- dods/3.7
status:
code: 200
message: OK
- request:
body: null
headers:
Accept:
- '*/*'
Accept-Encoding:
- gzip, deflate, br
Connection:
- keep-alive
User-Agent:
- python-requests/2.31.0
method: GET
uri: http://www.neracoos.org/erddap/griddap/WW3_EastCoast_latest.das
response:
body:
string: !!binary |
H4sIAAAAAAAAAL1XUW/iOBB+51eMeLrThUCgsKUrrUTh2usdbVdL97hbnRS5yRCsTeys7ZSiU//7
jU2gQAPbVaVbdRM7nhnPfDPz2QyMUfy+MKjh3xqA4Rm6AcCEFkQC4VBKFXPBDA4eub5b5gj1OxKr
v3diF6lkpncCLDIFS0PFRIIQ+N2Tzkm/fYq/9L3VrNfr9mj2fts2I4NkrL7zkUupw4i2S6Ra7mxV
CqRSJKFgGVYtasNEzFRcCpgXAvZLKBVPuIB6K2j8Prhp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KAi46h9uEFu5qjAlLvXiHFXe0lFGf00
8uDmdjDwaJ+VEJGudWNibE3DpeVbkaGF0EowsaxRIZIgnYmY5alcUiMCrdjtaVMySyhm7Ct9JWFC
UtEVzlDW8TGnRreyNU6K3GaB/E+L2MJUynFrbAYZqmhOU3bPU26WDqYZN8LqWwxYLada5JFNA+SF
yqWFwy5oXWTl1iugiOpLI7MywhKepVeLJDmChC3ZdeqE6qxIy6kNkxJgm1hl7s7o76b2Gg1zp9vb
T7E1M95YHl6fJ25iN3px719Vs6OWHU7bszaRRYW151Ok6kawU982hvbe9aHIMrd2fnUL0ylcXV3B
2PEfXEjqPeJD7U5FcNxY8YvLRc8SDKmmLVEHp7SJ/QEVtLd/QB1QImeVWasFjrwPqZkUf9DNNXBT
rDjV1+fYU+2p9h+ka8edLA8AAA==
headers:
Access-Control-Allow-Origin:
- '*'
CF-Cache-Status:
- DYNAMIC
CF-RAY:
- 7cefc2fb3ba40136-GRU
Connection:
- keep-alive
Content-Encoding:
- gzip
Content-Type:
- text/plain;charset=ISO-8859-1
Date:
- Mon, 29 May 2023 15:27:28 GMT
Last-Modified:
- Mon, 29 May 2023 15:27:28 GMT
NEL:
- '{"success_fraction":0,"report_to":"cf-nel","max_age":604800}'
Report-To:
- '{"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v3?s=M2OMC%2Bd82AvPz1AClZHtMPMbW3buSHd9NiLDARQpvbQj9Ar3qPXMcdtwFhVe%2Byv2pg%2Bk7zME66OxlHAOjPYJu0y%2Fd6wwfEFUdSiWSmpRWGh2UXNIwTJ0HJo0GkYeMA2yw%2FI%3D"}],"group":"cf-nel","max_age":604800}'
Server:
- cloudflare
Transfer-Encoding:
- chunked
content-description:
- dods_das
erddap-server:
- '1.82'
xdods-server:
- dods/3.7
status:
code: 200
message: OK
version: 1
2 changes: 1 addition & 1 deletion compliance_checker/tests/test_protocols.py
Original file line number Diff line number Diff line change
@@ -28,7 +28,7 @@ def test_erddap():
"""
Tests that a connection can be made to ERDDAP's GridDAP
"""
url = "https://coastwatch.pfeg.noaa.gov/erddap/griddap/osu2ChlaAnom"
url = "http://www.neracoos.org/erddap/griddap/WW3_EastCoast_latest"
cs = CheckSuite()
ds = cs.load_dataset(url)
assert ds is not None

0 comments on commit 2647049

Please sign in to comment.