mirror of
https://github.com/kennethreitz/neon-api-python.git
synced 2026-06-05 22:50:18 +00:00
Add ruff package and update timestamps in integration tests
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
interactions:
|
||||
- request:
|
||||
body: '{"key_name": "pytest-3250"}'
|
||||
body: '{"key_name": "pytest-7165"}'
|
||||
headers:
|
||||
Accept:
|
||||
- application/json
|
||||
@@ -18,7 +18,7 @@ interactions:
|
||||
uri: https://console.neon.tech/api/v2/api_keys
|
||||
response:
|
||||
body:
|
||||
string: '{"id":774518,"key":"6v5eet41f506cs580ux7alreysh6kmg5ww4vbs2glpivzouojx8dy7xiy7r33skp","name":"pytest-3250","created_at":"2024-01-25T14:27:03Z"}'
|
||||
string: '{"id":774735,"key":"cr1h99xaf219r2b1x48f0ezxcz1fm3ypx5zgqzrktvszf324bysgj0k3co0xrpji","name":"pytest-7165","created_at":"2024-01-25T15:57:46Z"}'
|
||||
headers:
|
||||
Connection:
|
||||
- keep-alive
|
||||
@@ -27,13 +27,13 @@ interactions:
|
||||
Content-Type:
|
||||
- application/json
|
||||
Date:
|
||||
- Thu, 25 Jan 2024 14:27:03 GMT
|
||||
- Thu, 25 Jan 2024 15:57:46 GMT
|
||||
Strict-Transport-Security:
|
||||
- max-age=15724800; includeSubDomains
|
||||
Vary:
|
||||
- Origin
|
||||
X-Neon-Ret-Request-Id:
|
||||
- 4ecb3c3d7a1e0e1159d86f1edf6998a0
|
||||
- 8dcbf028f5370c2852df1c5d8ddf75af
|
||||
status:
|
||||
code: 200
|
||||
message: OK
|
||||
@@ -54,7 +54,7 @@ interactions:
|
||||
uri: https://console.neon.tech/api/v2/api_keys
|
||||
response:
|
||||
body:
|
||||
string: '[{"id":774518,"name":"pytest-3250","created_at":"2024-01-25T14:27:03Z","last_used_at":null,"last_used_from_addr":""},{"id":768620,"name":"neon_client","created_at":"2024-01-23T21:56:07Z","last_used_at":"2024-01-25T14:27:03Z","last_used_from_addr":"204.111.161.156"}]'
|
||||
string: '[{"id":774735,"name":"pytest-7165","created_at":"2024-01-25T15:57:46Z","last_used_at":null,"last_used_from_addr":""},{"id":768620,"name":"neon_client","created_at":"2024-01-23T21:56:07Z","last_used_at":"2024-01-25T15:57:46Z","last_used_from_addr":"204.111.161.156"}]'
|
||||
headers:
|
||||
Connection:
|
||||
- keep-alive
|
||||
@@ -63,13 +63,13 @@ interactions:
|
||||
Content-Type:
|
||||
- application/json
|
||||
Date:
|
||||
- Thu, 25 Jan 2024 14:27:03 GMT
|
||||
- Thu, 25 Jan 2024 15:57:46 GMT
|
||||
Strict-Transport-Security:
|
||||
- max-age=15724800; includeSubDomains
|
||||
Vary:
|
||||
- Origin
|
||||
X-Neon-Ret-Request-Id:
|
||||
- 5dbdfe85862caed42a9987300f9f3eeb
|
||||
- a85a39be9e094e4e20523b5b5e00f2c4
|
||||
status:
|
||||
code: 200
|
||||
message: OK
|
||||
@@ -89,10 +89,10 @@ interactions:
|
||||
User-Agent:
|
||||
- neon-client/python version=(0.1.0)
|
||||
method: DELETE
|
||||
uri: https://console.neon.tech/api/v2/api_keys/774518
|
||||
uri: https://console.neon.tech/api/v2/api_keys/774735
|
||||
response:
|
||||
body:
|
||||
string: '{"id":774518,"name":"pytest-3250","revoked":true,"last_used_at":null,"last_used_from_addr":""}'
|
||||
string: '{"id":774735,"name":"pytest-7165","revoked":true,"last_used_at":null,"last_used_from_addr":""}'
|
||||
headers:
|
||||
Connection:
|
||||
- keep-alive
|
||||
@@ -101,13 +101,13 @@ interactions:
|
||||
Content-Type:
|
||||
- application/json
|
||||
Date:
|
||||
- Thu, 25 Jan 2024 14:27:03 GMT
|
||||
- Thu, 25 Jan 2024 15:57:46 GMT
|
||||
Strict-Transport-Security:
|
||||
- max-age=15724800; includeSubDomains
|
||||
Vary:
|
||||
- Origin
|
||||
X-Neon-Ret-Request-Id:
|
||||
- d372a070f6dcf9a61eacb0ae7bc8b302
|
||||
- 61b66794bc2ac60a5f8b19b054e5e9fa
|
||||
status:
|
||||
code: 200
|
||||
message: OK
|
||||
|
||||
Reference in New Issue
Block a user