Skip to content

Commit

Permalink
Improve coverage of tests
Browse files Browse the repository at this point in the history
  • Loading branch information
sosthene-nitrokey committed Jan 4, 2024
1 parent 72da0fb commit fb00052
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion pkcs11/src/api/object.rs
Original file line number Diff line number Diff line change
Expand Up @@ -270,6 +270,7 @@ mod tests {
login::LoginCtx,
session::Session,
},
config::config_file::RetryConfig,
data::SESSION_MANAGER,
};

Expand Down Expand Up @@ -393,7 +394,15 @@ mod tests {
device_error: 0,
enum_ctx: None,
flags: 0,
login_ctx: LoginCtx::new(None, None, vec![], None),
login_ctx: LoginCtx::new(
None,
None,
vec![],
Some(RetryConfig {
count: 2,
delay_seconds: 0,
}),
),
slot_id: 0,
};

Expand Down

0 comments on commit fb00052

Please sign in to comment.