We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4809841 commit 1e477c6Copy full SHA for 1e477c6
1 file changed
tests/test_file.py
@@ -123,6 +123,9 @@ def test_save_with_specified_key(): # type: () -> None
123
path = urlparse(f.url).path
124
if path.startswith("/avos-cloud-"): # old school aws s3 file url
125
assert path.split("/")[2] == user_specified_key
126
+ elif f.url.startswith("https://lc-gluttony"): # new aws s3 gluttony bucket
127
+ gluttony_path = "/" + os.environ["APP_ID"][0:12] + "/" + user_specified_key
128
+ assert path == gluttony_path
129
else:
130
assert path == "/" + user_specified_key
131
0 commit comments