Skip to content

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

test(storage/import): add layout_db tests

Steven Enamakel5c33dafecab4
diff --git a/crates/openhuman-core/src/storage/import/layout_db.rs b/crates/openhuman-core/src/storage/import/layout_db.rs
index 148f2c60cf..a6269476ba 100644
--- a/crates/openhuman-core/src/storage/import/layout_db.rs
+++ b/crates/openhuman-core/src/storage/import/layout_db.rs
@@ -155,6 +155,10 @@ pub fn checkpoint(path: &Path) -> Result<(), LayoutError> {
Ok(())
}
+#[cfg(test)]
+#[path = "layout_db_tests.rs"]
+mod tests;
+
#[cfg(test)]
#[path = "db_tests.rs"]
mod tests;