Disable Default Config Test

For now, it fails if there is a local config, differing
from the default config.
This commit is contained in:
a-kenji 2021-05-02 16:18:46 +02:00
parent 98d9eacd22
commit c193a0571c

View File

@ -196,10 +196,12 @@ mod config_test {
assert_eq!(result.unwrap(), Config::default()); assert_eq!(result.unwrap(), Config::default());
} }
#[test] // This test needs a split somewhere between test and normal runs,
fn try_from_cli_args_default() { // since otherwise it would look in a local configuration and fail.
let opts = CliArgs::default(); //#[test]
let result = Config::try_from(&opts); //fn try_from_cli_args_default() {
assert_eq!(result.unwrap(), Config::default()); //let opts = CliArgs::default();
} //let result = Config::try_from(&opts);
//assert_eq!(result.unwrap(), Config::default());
//}
} }