File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -234,11 +234,9 @@ mod tests {
234
234
235
235
fn make_test_backend ( protocol : ExecVersion ) -> ExecBackend {
236
236
let command_path = PathBuf :: from ( env ! ( "CARGO_MANIFEST_DIR" ) )
237
- . join ( "tests/behavior/secrets/mock_secrets_exec.py " ) ;
237
+ . join ( "tests/behavior/secrets/mock_secrets_exec" ) ;
238
238
ExecBackend {
239
- command : [ "python" , command_path. to_str ( ) . unwrap ( ) ]
240
- . map ( String :: from)
241
- . to_vec ( ) ,
239
+ command : [ command_path. to_str ( ) . unwrap ( ) ] . map ( String :: from) . to_vec ( ) ,
242
240
timeout : 5 ,
243
241
protocol,
244
242
}
Original file line number Diff line number Diff line change
1
+ #!/usr/bin/env python3
2
+
1
3
"""
2
4
Mock secret manager implementation used for testing the secrets.exec backend type.
3
5
This program is meant to be exec'ed by a unit test so that the implementation can be tested.
You can’t perform that action at this time.
0 commit comments