Sfoglia il codice sorgente

refactor: improve readability by formatting assertion in Docker quota test

Manuel 2 mesi fa
parent
commit
7b86761e05
1 ha cambiato i file con 3 aggiunte e 1 eliminazioni
  1. 3 1
      tests/test_quota_docker_runtime.py

+ 3 - 1
tests/test_quota_docker_runtime.py

@@ -20,7 +20,9 @@ def test_blocked_user_copy_uses_selected_docker_container(monkeypatch):
     monkeypatch.setattr(quota_service, "_find_squid_runtime", lambda: runtime)
     monkeypatch.setattr(quota_service.subprocess, "run", fake_run)
 
-    assert quota_service._sync_blocked_file_to_docker("/etc/squid/usuarios_bloqueados.txt")
+    assert quota_service._sync_blocked_file_to_docker(
+        "/etc/squid/usuarios_bloqueados.txt"
+    )
     assert calls == [
         (
             [