Skip to content

Commit 28d24bc

Browse files
committed
rm old test
1 parent 406185b commit 28d24bc

File tree

1 file changed

+0
-21
lines changed

1 file changed

+0
-21
lines changed

compute/src/config.rs

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -178,24 +178,3 @@ impl Default for DriaComputeNodeConfig {
178178
Self::new(Default::default())
179179
}
180180
}
181-
182-
#[cfg(test)]
183-
mod tests {
184-
use super::*;
185-
186-
#[test]
187-
fn test_config_and_model_parsing() {
188-
let cfg = DriaComputeNodeConfig::default();
189-
assert_eq!(
190-
hex::encode(cfg.address),
191-
// address of the default secret key
192-
"1f56f6131705fbf19371122c80d7a2d40fcf9a68"
193-
);
194-
195-
env::set_var(
196-
"DKN_WALLET_SECRET_KEY",
197-
"6e6f64656e6f64656e6f64656e6f64656e6f64656e6f64656e6f64656e6f6465",
198-
);
199-
env::set_var("DKN_MODELS", "phi3:3.8b,gpt-3.5-turbo");
200-
}
201-
}

0 commit comments

Comments
 (0)