mirror of
https://github.com/elicpeter/nyx.git
synced 2026-07-18 21:21:03 +02:00
cargo fmt
This commit is contained in:
parent
bec7bbf96c
commit
3a35cd6c8f
294 changed files with 6809 additions and 3911 deletions
|
|
@ -22,7 +22,7 @@
|
|||
#![cfg(feature = "dynamic")]
|
||||
|
||||
use nyx_scanner::dynamic::environment::{
|
||||
build_secret_bag, derive_secret, extract_env_var_references, SECRET_VALUE_PREFIX,
|
||||
SECRET_VALUE_PREFIX, build_secret_bag, derive_secret, extract_env_var_references,
|
||||
};
|
||||
use nyx_scanner::symbol::Lang;
|
||||
use std::path::{Path, PathBuf};
|
||||
|
|
@ -228,7 +228,10 @@ fn flask_fixture_boots_with_derived_secret_env() {
|
|||
// Spawn python3 in the fixture directory, env-clear, layer the bag
|
||||
// on top, and confirm the module imports without raising.
|
||||
let mut cmd = std::process::Command::new("python3");
|
||||
cmd.args(["-c", "import sys; sys.path.insert(0, '.'); import app; print('OK')"]);
|
||||
cmd.args([
|
||||
"-c",
|
||||
"import sys; sys.path.insert(0, '.'); import app; print('OK')",
|
||||
]);
|
||||
cmd.current_dir(&fixture);
|
||||
cmd.env_clear();
|
||||
// PATH is required so python3 can re-locate its stdlib; the
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue