Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

refactor(storage/import): adjust test module visibility

Steven Enamakel37c9370d3cf0
diff --git a/crates/openhuman-core/src/storage/import/schemas.rs b/crates/openhuman-core/src/storage/import/schemas.rs
index 1439aac173..b3114aff7c 100644
--- a/crates/openhuman-core/src/storage/import/schemas.rs
+++ b/crates/openhuman-core/src/storage/import/schemas.rs
@@ -174,6 +174,6 @@ fn optional_bool(name: &'static str, comment: &'static str) -> FieldSchema {
}
}
-#[cfg(test)]
+#[cfg(all(test, feature = "legacy-import"))]
#[path = "schemas_tests.rs"]
mod tests;