Skip to content

Commit e7b0794

Browse files
committed
style: formatting
1 parent 01b6f5b commit e7b0794

File tree

4 files changed

+3
-6
lines changed

4 files changed

+3
-6
lines changed

Cargo.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,8 @@ tokio = { version = "1.49.0", features = [
4343
] }
4444
toml = "1.0.1"
4545
rustls = { version = "0.23" }
46+
47+
[dev-dependencies]
4648
mockito = "1.7.2"
4749

4850
[build-dependencies]

install/example_config.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ chunk_size = 100
1515
beamline_name = "x99xa"
1616

1717
[metrics]
18-
user_config_path = "./test/test_metrics_config.toml"
18+
user_config_path = "./tests/test_metrics_config.toml"
1919
url = "http://localhost"
2020
auth = { username = "test-mimir", password = "test-mimir-password" }
2121

src/metrics.rs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -352,14 +352,9 @@ mod tests {
352352

353353
#[tokio::test(flavor = "multi_thread")]
354354
async fn test_consumer_loop() {
355-
// Request a new server from the pool
356355
let mut server = mockito::Server::new_async().await;
357-
358-
// Use one of these addresses to configure your client
359-
let host = server.host_with_port();
360356
let url = server.url();
361357
let config = test_config(url, None);
362-
// Create a mock
363358
let mock = server
364359
.mock("POST", "/")
365360
.with_status(201)

0 commit comments

Comments
 (0)