diff --git a/crates/hm-dsl-engine/harmont-py/tests/test_setup.py b/crates/hm-dsl-engine/harmont-py/tests/test_setup.py index 21d69e56..9d835f77 100644 --- a/crates/hm-dsl-engine/harmont-py/tests/test_setup.py +++ b/crates/hm-dsl-engine/harmont-py/tests/test_setup.py @@ -1,6 +1,7 @@ """`.setup()` splices a prep step into a toolchain's install chain so that action leaves fork from it. One parametrized test over every install-bearing toolchain object.""" + from __future__ import annotations import json diff --git a/crates/hm/tests/cmd_init.rs b/crates/hm/tests/cmd_init.rs index a98d366c..9664e047 100644 --- a/crates/hm/tests/cmd_init.rs +++ b/crates/hm/tests/cmd_init.rs @@ -24,12 +24,18 @@ fn init_rust_creates_pipeline_py() { assert!(pipeline.exists(), "expected {}", pipeline.display()); let content = std::fs::read_to_string(&pipeline).unwrap(); - assert!(content.contains("@hm.pipeline"), "expected pipeline decorator"); + assert!( + content.contains("@hm.pipeline"), + "expected pipeline decorator" + ); assert!( content.contains("hm.rust.project("), "expected rust.project() entrypoint, got:\n{content}" ); - assert!(content.contains(".ci()"), "expected the one-call .ci() DAG, got:\n{content}"); + assert!( + content.contains(".ci()"), + "expected the one-call .ci() DAG, got:\n{content}" + ); assert!( !content.contains("rust.toolchain("), "template should not use the legacy toolchain() API, got:\n{content}"