Skip to content

Commit

Permalink
Use test fixture for file operation tests
Browse files Browse the repository at this point in the history
Signed-off-by: Mattt Zmuda <mattt@replicate.com>
  • Loading branch information
mattt committed Aug 22, 2024
1 parent 0db183c commit e5cc3e9
Show file tree
Hide file tree
Showing 2 changed files with 339 additions and 1 deletion.
338 changes: 338 additions & 0 deletions tests/cassettes/file-operations.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,338 @@
interactions:
- request:
body: "--f64a6c6ac4fed507b9430635c33d4f7c\r\nContent-Disposition: form-data; name=\"content\";
filename=\"test_fileo20o3wth.txt\"\r\nContent-Type: text/plain\r\n\r\n\r\n--f64a6c6ac4fed507b9430635c33d4f7c--\r\n"
headers:
accept:
- '*/*'
accept-encoding:
- gzip, deflate
connection:
- keep-alive
content-length:
- '186'
content-type:
- multipart/form-data; boundary=f64a6c6ac4fed507b9430635c33d4f7c
host:
- api.replicate.com
user-agent:
- replicate-python/0.30.1
method: POST
uri: https://api.replicate.com/v1/files
response:
body:
string: '{"id":"NGZiNmY2YzQtMThhZi00ZjcyLWFhZjktODg4NTY0NWNlMDEy","name":"test_fileo20o3wth.txt","content_type":"text/plain","size":0,"etag":"d41d8cd98f00b204e9800998ecf8427e","checksums":{"sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","md5":"d41d8cd98f00b204e9800998ecf8427e"},"metadata":{},"created_at":"2024-08-22T12:26:51.079Z","expires_at":"2024-08-23T12:26:51.079Z","urls":{"get":"https://api.replicate.com/v1/files/NGZiNmY2YzQtMThhZi00ZjcyLWFhZjktODg4NTY0NWNlMDEy"}}'
headers:
CF-RAY:
- 8b72da83eda0c39f-SEA
Cf-Placement:
- remote-SJC
Connection:
- keep-alive
Content-Length:
- '493'
Content-Type:
- application/json; charset=UTF-8
Date:
- Thu, 22 Aug 2024 12:26:51 GMT
NEL:
- '{"success_fraction":0,"report_to":"cf-nel","max_age":604800}'
Report-To:
- '{"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v4?s=3zHX3amjkYcsqliQHujgqvEty9JAbDn1rvG00PP4bfnbsWV11zLOspVtSDl%2F3XyH2ECydfNrW8t9qj4QSmX%2F2jkeas0Xi18PbABraUJigcXzjaNwlh2gQ%2BtRyM4hgS8jcZvO"}],"group":"cf-nel","max_age":604800}'
Server:
- cloudflare
Strict-Transport-Security:
- max-age=15552000
Vary:
- Accept-Encoding
alt-svc:
- h3=":443"; ma=86400
status:
code: 201
message: Created
- request:
body: ''
headers:
accept:
- '*/*'
accept-encoding:
- gzip, deflate
connection:
- keep-alive
host:
- api.replicate.com
user-agent:
- replicate-python/0.30.1
method: GET
uri: https://api.replicate.com/v1/files/NGZiNmY2YzQtMThhZi00ZjcyLWFhZjktODg4NTY0NWNlMDEy
response:
body:
string: !!binary |
H4sIAAAAAAAAAwAAAP//lNHLTsMwEAXQf5l1SBzHSWyvC2xoEFKlqtlUjjNp3OaleAp9qP+OCjvY
wP7oau6dK7gaNBTPpSv6Dd9c3mi5atvSMVbu7fll/dSW+wO9LnaiWG1YsS665eLxDAEMpkfQQOhp
27gOR87G5IPakE4EAdhxIBxoS+fpm50omjrjBgjAuwuCZgEgmR1oqEVcS1sr2TBWcSZQScaUkmgb
KXiO97gW7cEfew/6Cr41PM1AAyYVs0JwJRsb21go01SNsFKprKkUFzw3KGIUmVCVSoQ1QqVKxVUu
U17JNIUA+jr9ywW3AHokUxsyoK+3AOyMhrDeGgINnHHxwOQD56uYa57pNA5ZrkoIAE+Tm9H/cMkv
d5y7r247vMOWaPI6iszkwhmnzllDGNqxj97j6L62j/79stvtEwAA//8DAFK0/HbtAQAA
headers:
CF-RAY:
- 8b72da85be95c39f-SEA
Cf-Placement:
- remote-SJC
Connection:
- keep-alive
Content-Encoding:
- gzip
Content-Type:
- application/json; charset=UTF-8
Date:
- Thu, 22 Aug 2024 12:26:51 GMT
NEL:
- '{"success_fraction":0,"report_to":"cf-nel","max_age":604800}'
Report-To:
- '{"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v4?s=PTe6WTpBSmtfJrGQ5lngNg%2FC6DkfYk%2BCWVjYfW4g0eTVVFGTS1D1w9a59eGHpaGhdSXtARBi8O21Imju21kTMjQ8F%2BDMxqYZZQwKoCJV9VDGu0bCLVfCCzlnB7vVaIZhrzZU"}],"group":"cf-nel","max_age":604800}'
Server:
- cloudflare
Strict-Transport-Security:
- max-age=15552000
Transfer-Encoding:
- chunked
Vary:
- Accept-Encoding
alt-svc:
- h3=":443"; ma=86400
status:
code: 200
message: OK
- request:
body: ''
headers:
accept:
- '*/*'
accept-encoding:
- gzip, deflate
connection:
- keep-alive
host:
- api.replicate.com
user-agent:
- replicate-python/0.30.1
method: GET
uri: https://api.replicate.com/v1/files
response:
body:
string: !!binary |
H4sIAAAAAAAAA+zcUW+jOhYA4P/Cc5cxxiQhb5lLgohiI+Y6QfZqVaWEBgwkaetOAqP57yvT3ind
RUrcZx47Ooym8wWf4+Pj/DIO6UUa08NrWd4Zp+f0Z358ffnn5+f05bWUL8b037+MfGdMDQwji8DI
4iKSLGYA5wCQJstXtHAYLSRpcINpAnGT1JgmtXFnHLZVakwNmb7I+8e8TEc/k4OQD44pL9K4M5Lj
QaYHeS/r01vYRX47ldv8YNwZL3mTGlNwZ6Ryuzemxg5Zu0mycyePADxAgFJ3AoDrTtLkcYLgOFV/
XZYmxctr9WJMfxkv2RY6I2NqpPYDSBCC7uQxsRILudvHh0eUTFx39PjgQgTH2xRZKRoh98G1UbJF
ruO61sN44sCHieMYd0a1c275F/y+M6pUbndbuTWmv37fGclzupXp7n4rjakBAUT/ApN/QUgtOIVw
iqCJXMSNOyO9nPLn9OV/4uz/i3t9LtvfbZ+qwEzK08v027ftKTef01OZJ1uZmsmx+vbT+qb+t1++
aZP9/n33j7a3djANLO4FMvR/CJYDwGlWruLgzGIsSbW2MA1qXi1LJrDVo+28HB4eygMctKEztR3T
tuA17W6cvrYu2SftMxZlwZqZxDBo8N/q0e/5iu7bDw8Xi4pV+Mzj4EK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qhF8m2ceMlZ9wU6tpJn/YYpYcjsJtB
W82STkw4vmXm9E/cF7Q1yTra/qYkcdCocVVGfxTtow27rGhWEahGYdY1aXZF6LEm9IK+W3/lT3A5
WPkwzfCejxEEN+Xt9zh9bV2yjjYNHOJHgFMsSbws2gFGGp1XbYm/lthXl4kWgsW8wv3aL5f9Nj3e
D1OI7WkHNJ2rZ2Cf4vS1dcm62tjCVXQhqgkDmfOWBNa2GkUnNJCqtCf+plBFXuiv+/bb7v7y5Ga7
4R7Ye49sgkY39dIm6KvammRd7X2DvU3JK6wuEIn2wiCcgxXNcpUEmCCC+D8yLApERO+tv31TjdPd
9n7QfjvbcgC66QzsPe4L2ppkXe3Cxg2pwhhL7C2LdhCiWaO34zOVBBgiXmCxprBCr+j9boaHCTw/
JcWg/XZTFyLnphu973Ff0NYk62iLec0aXhI4l1zMnTYJ+BFSHxRcRZJBkoXxIgv9+YV72Olbycvi
URztYS7tfU58ZNk3zZO/x+lr65J1tNv2+rJqv8KhWbQFnromqlrs6vI/qZhF6P7MPV6E8bpPuynA
w6GydoP2W9fEujqF+ClOX1uXrKtNBIs3JfeZJGo0VY2rNntHfVCISgz+uubV2g79CIRx1FeTZz+d
5vScokH77V42cp2b7m+/x31BW5Ps9+///P4vAAAA//8DAJIltuJ9SQAA
headers:
CF-RAY:
- 8b72da871f4bc39f-SEA
Cf-Placement:
- remote-SJC
Connection:
- keep-alive
Content-Encoding:
- gzip
Content-Type:
- application/json; charset=UTF-8
Date:
- Thu, 22 Aug 2024 12:26:51 GMT
NEL:
- '{"success_fraction":0,"report_to":"cf-nel","max_age":604800}'
Report-To:
- '{"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v4?s=bYdBu1NoyhwOzfM%2FJTv3B8BsO45cdyXYsf6ZvUqgkivjk1wKNmuJt9xdFE8UGhUwN%2BdRNTpY1ZyqGsbugeFFKEDNoWgAZERBDVV1EaD%2F1oF2%2FoF6BfFVjkuKXpctEhqgNFTr"}],"group":"cf-nel","max_age":604800}'
Server:
- cloudflare
Strict-Transport-Security:
- max-age=15552000
Transfer-Encoding:
- chunked
Vary:
- Accept-Encoding
alt-svc:
- h3=":443"; ma=86400
status:
code: 200
message: OK
- request:
body: ''
headers:
accept:
- '*/*'
accept-encoding:
- gzip, deflate
connection:
- keep-alive
host:
- api.replicate.com
user-agent:
- replicate-python/0.30.1
method: DELETE
uri: https://api.replicate.com/v1/files/NGZiNmY2YzQtMThhZi00ZjcyLWFhZjktODg4NTY0NWNlMDEy
response:
body:
string: ''
headers:
CF-RAY:
- 8b72da887ff6c39f-SEA
Cf-Placement:
- remote-SJC
Connection:
- keep-alive
Content-Type:
- text/plain; charset=UTF-8
Date:
- Thu, 22 Aug 2024 12:26:51 GMT
NEL:
- '{"success_fraction":0,"report_to":"cf-nel","max_age":604800}'
Report-To:
- '{"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v4?s=jeTkrWxENn3H8D%2FYY8FS6nSJ9rjBM%2FuyKzHI3JiWhIYUU7Jhv%2BHXNCHyufvnz2OZ7AfRmZSTSqX4vuNHt3jEyHGha669CxzHHNenVS0T79pmWYYiqEpZ0jngN73oqEptcnIn"}],"group":"cf-nel","max_age":604800}'
Server:
- cloudflare
Strict-Transport-Security:
- max-age=15552000
Vary:
- Accept-Encoding
alt-svc:
- h3=":443"; ma=86400
status:
code: 204
message: No Content
- request:
body: ''
headers:
accept:
- '*/*'
accept-encoding:
- gzip, deflate
connection:
- keep-alive
host:
- api.replicate.com
user-agent:
- replicate-python/0.30.1
method: GET
uri: https://api.replicate.com/v1/files
response:
body:
string: !!binary |
H4sIAAAAAAAAA+zbUW+jOhYA4P/Cc5cxxiQhb5lLgohiI+Y6QfZqVaWEBgykaeNOAqP57yvT3ind
RUrcZx5bHaq2X/A5Pj7+ZRzSizSmh9eyvDOOL+nP/On19M/XL+nptZQnY/rvX0a+M6YGhpFFYGRx
EUkWM4BzAEiT5StaOIwWkjS4wTSBuElqTJPauDMO2yo1poZMT/L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ote-SJC
Connection:
- keep-alive
Content-Encoding:
- gzip
Content-Type:
- application/json; charset=UTF-8
Date:
- Thu, 22 Aug 2024 12:26:52 GMT
NEL:
- '{"success_fraction":0,"report_to":"cf-nel","max_age":604800}'
Report-To:
- '{"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v4?s=pUBDVlUTiRMAnxnBdWk52MfFYaI6Igr0Xii0yU28rQCdZ75ceEZSSGuNqk1yfB4xF1uUv%2BEUcehuEnMoQ9q2d4ZLJRQpJMSKbXRqMbT8VI%2F29sOyJsYRT3%2FQYn5wmXeG8%2FLn"}],"group":"cf-nel","max_age":604800}'
Server:
- cloudflare
Strict-Transport-Security:
- max-age=15552000
Transfer-Encoding:
- chunked
Vary:
- Accept-Encoding
alt-svc:
- h3=":443"; ma=86400
status:
code: 200
message: OK
version: 1
2 changes: 1 addition & 1 deletion tests/test_file.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
import replicate


# @pytest.mark.vcr("files-operations.yaml")
@pytest.mark.vcr("file-operations.yaml")
@pytest.mark.asyncio
@pytest.mark.parametrize("async_flag", [True, False])
async def test_file_operations(async_flag):
Expand Down

0 comments on commit e5cc3e9

Please sign in to comment.