We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9e5e8fb commit 7d3a9b3Copy full SHA for 7d3a9b3
1 file changed
tests/conftest.py
@@ -47,6 +47,7 @@ def get_dockerd_process() -> Process | None:
47
loginuid=proc.loginuid,
48
)
49
50
+
51
# Declare files holding fixtures
52
pytest_plugins = ['test_editors.commons']
53
@@ -232,10 +233,7 @@ def docker_selinux_xattr(
232
233
otherwise.
234
"""
235
info = docker_client.info()
- selinux = any(
236
- 'selinux' in opt
237
- for opt in info.get('SecurityOptions', [])
238
- )
+ selinux = any('selinux' in opt for opt in info.get('SecurityOptions', []))
239
if not selinux:
240
return []
241
dockerd = get_dockerd_process()
0 commit comments