Skip to content

Commit 7d3a9b3

Browse files
committed
Fixed format
1 parent 9e5e8fb commit 7d3a9b3

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

tests/conftest.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ def get_dockerd_process() -> Process | None:
4747
loginuid=proc.loginuid,
4848
)
4949

50+
5051
# Declare files holding fixtures
5152
pytest_plugins = ['test_editors.commons']
5253

@@ -232,10 +233,7 @@ def docker_selinux_xattr(
232233
otherwise.
233234
"""
234235
info = docker_client.info()
235-
selinux = any(
236-
'selinux' in opt
237-
for opt in info.get('SecurityOptions', [])
238-
)
236+
selinux = any('selinux' in opt for opt in info.get('SecurityOptions', []))
239237
if not selinux:
240238
return []
241239
dockerd = get_dockerd_process()

0 commit comments

Comments
 (0)