diff --git a/tests/unit/python/roles/sys-svc-container/test_userland_proxy.py b/tests/unit/python/roles/sys-svc-container/test_userland_proxy.py index 463c7bdbe9..7a210fbc5c 100644 --- a/tests/unit/python/roles/sys-svc-container/test_userland_proxy.py +++ b/tests/unit/python/roles/sys-svc-container/test_userland_proxy.py @@ -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), diff --git a/tests/unit/python/roles/web-app-nextcloud/test_talk_direct_media.py b/tests/unit/python/roles/web-app-nextcloud/test_talk_direct_media.py index 6ce7806382..9ae24a77bb 100644 --- a/tests/unit/python/roles/web-app-nextcloud/test_talk_direct_media.py +++ b/tests/unit/python/roles/web-app-nextcloud/test_talk_direct_media.py @@ -374,7 +374,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, ) diff --git a/tests/unit/python/utils/cache/test_files.py b/tests/unit/python/utils/cache/test_files.py index 468a6bd991..3465e7a4eb 100644 --- a/tests/unit/python/utils/cache/test_files.py +++ b/tests/unit/python/utils/cache/test_files.py @@ -222,7 +222,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:])