Skip to content

Commit

Permalink
fixing nodes test
Browse files Browse the repository at this point in the history
  • Loading branch information
John Waller committed Oct 29, 2024
1 parent d056943 commit 77141af
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion test/test-registry-nodes.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,5 @@ def test_nodes_return():
assert dict == res.__class__
assert 2 == len(res)
assert 1 == len(res["data"])
assert 5 == len(res["data"][0])
assert 6 == len(res["data"][0])
assert "identifier" in res["data"][0].keys()
10 changes: 5 additions & 5 deletions test/vcr_cassettes/test_nodes_return.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ interactions:
uri: https://api.gbif.org/v1/node/03e816b3-8f58-49ae-bc12-4e18b358d6d9/identifier?limit=100
response:
body:
string: '[{"key":13657,"type":"GBIF_PARTICIPANT","identifier":"308","createdBy":"registry-migration.gbif.org","created":"2013-10-24T09:06:08.312+00:00"}]'
string: '[{"key":13657,"type":"GBIF_PARTICIPANT","identifier":"308","createdBy":"registry-migration.gbif.org","created":"2013-10-24T09:06:08.312+00:00","primary":false}]'
headers:
Accept-Ranges:
- bytes
Expand All @@ -24,16 +24,16 @@ interactions:
- public, max-age=3601
Connection:
- keep-alive
Content-Length:
- '160'
Content-Type:
- application/json
Date:
- Fri, 04 Oct 2024 07:00:33 GMT
- Tue, 29 Oct 2024 10:49:16 GMT
Expires:
- '0'
Pragma:
- no-cache
Transfer-Encoding:
- chunked
Vary:
- Origin, Access-Control-Request-Method, Access-Control-Request-Headers
Via:
Expand All @@ -43,7 +43,7 @@ interactions:
X-Frame-Options:
- DENY
X-Varnish:
- '689635465'
- '808520932'
X-XSS-Protection:
- 1; mode=block
status:
Expand Down

0 comments on commit 77141af

Please sign in to comment.