We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6fb6062 commit 1f3a93fCopy full SHA for 1f3a93f
upath/tests/conftest.py
@@ -238,9 +238,19 @@ def docker_gcs():
238
pytest.skip("docker not installed")
239
240
container = "gcsfs_test"
241
- cmd = (
242
- "docker run -d -p 4443:4443 --name gcsfs_test fsouza/fake-gcs-server:latest -scheme " # noqa: E501
243
- "http -public-host http://localhost:4443 -external-url http://localhost:4443" # noqa: E501
+ cmd = " ".join(
+ [
+ "docker",
244
+ "run",
245
+ "-d",
246
+ "-p 4443:4443",
247
+ "--name gcsfs_test",
248
+ "fsouza/fake-gcs-server:latest",
249
+ "-scheme http",
250
+ "-public-host http://localhost:4443",
251
+ "-external-url http://localhost:4443",
252
+ "-backend memory",
253
+ ]
254
)
255
stop_docker(container)
256
subprocess.check_output(shlex.split(cmd))
0 commit comments