Skip to content

Commit

Permalink
fix: udeps (#2215)
Browse files Browse the repository at this point in the history
  • Loading branch information
DaniPopes committed Mar 1, 2023
1 parent da743fc commit fbf8acb
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions ethers-signers/src/aws/mod.rs
Expand Up @@ -279,19 +279,12 @@ impl super::Signer for AwsSigner {

#[cfg(test)]
mod tests {
use super::*;
use crate::Signer;
use rusoto_core::{
credential::{EnvironmentProvider, StaticProvider},
Client, HttpClient, Region,
};
use tracing::metadata::LevelFilter;

use super::*;
use crate::Signer;

#[allow(dead_code)]
fn setup_tracing() {
tracing_subscriber::fmt().with_max_level(LevelFilter::DEBUG).try_init().unwrap();
}

#[allow(dead_code)]
fn static_client() -> KmsClient {
Expand All @@ -318,7 +311,6 @@ mod tests {
Ok(id) => id,
_ => return,
};
setup_tracing();
let client = env_client();
let signer = AwsSigner::new(client, key_id, chain_id).await.unwrap();

Expand Down

0 comments on commit fbf8acb

Please sign in to comment.