@@ -1,8 +1,11 @@
|
||||
pub mod common;
|
||||
|
||||
mod can_run_for_env;
|
||||
mod cuddle_vars;
|
||||
|
||||
use crate::common::run_test;
|
||||
use cuddle_clusters::catalog::cuddle_vars::CuddleVars;
|
||||
|
||||
use crate::common::{run_test, run_test_with_components};
|
||||
|
||||
#[tokio::test]
|
||||
async fn raw_files() -> anyhow::Result<()> {
|
||||
@@ -37,3 +40,16 @@ async fn environment() -> anyhow::Result<()> {
|
||||
|
||||
Ok(())
|
||||
}
|
||||
|
||||
#[tokio::test]
|
||||
async fn with_cuddle_vars() -> anyhow::Result<()> {
|
||||
let current_dir = std::env::current_dir()?.join("tests/with_cuddle_vars");
|
||||
|
||||
run_test_with_components(
|
||||
"with_cuddle_vars",
|
||||
vec![CuddleVars::new(¤t_dir).await?],
|
||||
)
|
||||
.await?;
|
||||
|
||||
Ok(())
|
||||
}
|
||||
|
Reference in New Issue
Block a user