()
| 143 | } |
| 144 | |
| 145 | pub fn init_logging() { |
| 146 | // It's likely that the initialization failed due to a previous initialization attempt. In this |
| 147 | // case, we can ignore the error. |
| 148 | let _: core::result::Result<_, _> = tracing_subscriber::fmt() |
| 149 | .with_ansi(true) |
| 150 | .with_env_filter(env_filter(None)) |
| 151 | .with_file(true) |
| 152 | .with_line_number(true) |
| 153 | .with_test_writer() |
| 154 | .try_init(); |
| 155 | } |
| 156 | |
| 157 | impl DatabaseTestWrapper { |
| 158 | pub async fn new() -> Self { |
no test coverage detected