treefmt-check
checks.x86_64-linux.treefmt
· build #167
· raw
1treefmt v2.5.0traversed 580 files2emitted 384 files for processing3formatted 384 files (2 changed) in 838ms4 M packages/spaces-install-agent/test_agent.py5 M tests/installer-text-iso.nix6diff --git a/packages/spaces-install-agent/test_agent.py b/packages/spaces-install-agent/test_agent.py7index f64e80f..f5e356c 1006448--- a/packages/spaces-install-agent/test_agent.py9+++ b/packages/spaces-install-agent/test_agent.py10@@ -87,7 +87,9 @@ class ConfigTest(unittest.TestCase):11 12 def test_smoke_timeout_defaults_and_parses(self):13 self.assertEqual(self.load_from("{}").smoke_timeout, 5.0)14- self.assertEqual(self.load_from(json.dumps({"smokeTimeout": 120})).smoke_timeout, 120.0)15+ self.assertEqual(16+ self.load_from(json.dumps({"smokeTimeout": 120})).smoke_timeout, 120.017+ )18 19 20 class ProvidersTest(unittest.TestCase):21diff --git a/tests/installer-text-iso.nix b/tests/installer-text-iso.nix22index 78dae88..e690872 10064423--- a/tests/installer-text-iso.nix24+++ b/tests/installer-text-iso.nix25@@ -110,7 +110,9 @@ in26 providerKeyEnv = lib.hasInfix "apiKey: HOST_API_KEY" yaml;27 # The target still gets the real p0 key: only the ISO's own28 # assistant points at the host.29- targetKey = lib.hasInfix ''"inferenceApiKey":"test-key"'' host.environment.etc."spaces-installer/install.json".text;30+ targetKey =31+ lib.hasInfix ''"inferenceApiKey":"test-key"''32+ host.environment.etc."spaces-installer/install.json".text;33 };34 expected = {35 baseUrl = "http://10.0.2.2:8012/v1";