File tree Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Original file line number Diff line number Diff line change 103103 bucket_and_path = f"{bucket}{path}" if path else bucket
104104 return f"s3://{bucket_and_path}?{query}"
105105
106- def make_http_url(path):
107- """Build HTTP URL for direct S3 access"""
108- return f"{ENDPOINT}/{path}"
109-
110106 def get_package_hash(pkg_path):
111107 """Extract store hash from package path"""
112108 return pkg_path.split("/")[-1].split("-")[0]
208204 print("\n=== Testing Error Message Formatting ===")
209205
210206 nonexistent_url = make_s3_url(bucket, path="/foo-that-does-not-exist")
211- expected_http_url = make_http_url( f"{bucket}/foo-that-does-not-exist")
207+ expected_http_url = f"{ENDPOINT}/{ bucket}/foo-that-does-not-exist"
212208
213209 error_msg = client.fail(
214210 f"{ENV_WITH_CREDS} nix eval --impure --expr "
You can’t perform that action at this time.
0 commit comments