mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2026-11-10 12:47:04 +00:00
style: rewrap three test lines past ruff's line length
make autoformat rewraps the firewall-backend entry in test_userland_proxy.py, the _direct_media call in test_talk_direct_media.py and the _git listing context in test_files.py, which ran past 88 characters. The text is ruff's own output, the same store-i18n commits, so the next merge between the lines resolves cleanly. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
1 parent
6da4e49db3
commit
88d138ba1c
3 files changed
+9
-3
No files matched your search
@@ -36,7 +36,9 @@ def _daemon_json(**overrides):
|
||||
"swarm": {"registry": {"host": "", "port": 5000}},
|
||||
"groups": {"svc-registry-cache": []},
|
||||
"ansible_facts": {"os_family": "Debian"},
|
||||
"SYS_SVC_CONTAINER_DOCKER_FIREWALL_BACKEND_BY_OS_FAMILY": {"Debian": "iptables"},
|
||||
"SYS_SVC_CONTAINER_DOCKER_FIREWALL_BACKEND_BY_OS_FAMILY": {
|
||||
"Debian": "iptables"
|
||||
},
|
||||
"NETWORK_DOCKER_ADDRESS_POOLS": [{"base": "10.208.0.0/12", "size": 24}],
|
||||
"sys_svc_container_kvm": _shim(False),
|
||||
"sys_svc_container_kata_shim": _shim(False),
|
||||
|
||||
@@ -373,7 +373,9 @@ class TestDirectMediaFlag(unittest.TestCase):
|
||||
|
||||
def test_the_loopback_placeholder_keeps_it_off(self):
|
||||
self.assertIs(
|
||||
_direct_media(list(STANDALONE_TURN), ip4="127.0.0.1", applications=OPTED_IN),
|
||||
_direct_media(
|
||||
list(STANDALONE_TURN), ip4="127.0.0.1", applications=OPTED_IN
|
||||
),
|
||||
False,
|
||||
)
|
||||
|
||||
|
||||
+3
-1
@@ -208,7 +208,9 @@ class TestRepositoryFiles(_ProjectRootFixture, unittest.TestCase):
|
||||
|
||||
def test_leaves_out_a_tracked_file_deleted_in_the_worktree(self) -> None:
|
||||
gone = "roles/web-app-nextcloud/filter_plugins/gone.py"
|
||||
with self._git(f"{self.TRACKED}\0{gone}\0".encode(), f"{gone}\0".encode()) as run:
|
||||
with self._git(
|
||||
f"{self.TRACKED}\0{gone}\0".encode(), f"{gone}\0".encode()
|
||||
) as run:
|
||||
self.assertEqual((self.TRACKED,), files_module.repository_files())
|
||||
self.assertEqual(["--deleted"], run.call_args_list[1].args[0][-1:])
|
||||
|
||||
|
||||
Reference in new issue
Block a user