[pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci
This commit is contained in:
pre-commit-ci[bot]
2021-08-06 16:25:29 +00:00
parent 364e5de012
commit 437e736c7d

View File

@@ -188,6 +188,7 @@ def test_group_add(container, tmpdir):
logs = c.logs(stdout=True).decode("utf-8")
assert "uid=1010 gid=1010 groups=1010,100(users)" in logs
def test_container_not_delete_bind_mount(container, tmp_path):
"""Container should not delete host system files when using the (docker)
-v bind mount flag and mapping to /home/jovyan.
@@ -205,8 +206,8 @@ def test_container_not_delete_bind_mount(container, tmp_path):
"NB_USER=user",
"CHOWN_HOME=yes",
],
volumes={ d : {'bind': '/home/jovyan/data', 'mode': 'rw'}},
command=["start.sh", "jupyter", "lab"]
volumes={d: {"bind": "/home/jovyan/data", "mode": "rw"}},
command=["start.sh", "jupyter", "lab"],
)
time.sleep(10)