From 88343cad1aba370d4dc8a8313175ba07de0d7a06 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Tue, 8 Jan 2019 16:32:00 -0800 Subject: squelch more test warnings --- rust/tests/test_api_server_client.rs | 3 ++- rust/tests/test_old_python_tests.rs | 3 +++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/rust/tests/test_api_server_client.rs b/rust/tests/test_api_server_client.rs index 0f2f6ad1..7d76f3c5 100644 --- a/rust/tests/test_api_server_client.rs +++ b/rust/tests/test_api_server_client.rs @@ -14,13 +14,14 @@ extern crate fatcat_api_spec; extern crate iron; extern crate uuid; -use fatcat_api_spec::{Api, ApiNoContext, Context, ContextWrapperExt, Future}; +use fatcat_api_spec::{ApiNoContext, ContextWrapperExt, Future}; mod helpers; use helpers::setup_client; // Disabled due to hang //#[test] +#[allow(dead_code)] fn test_basic() { let (client, context, mut server) = setup_client(); let client = client.with_context(context); diff --git a/rust/tests/test_old_python_tests.rs b/rust/tests/test_old_python_tests.rs index 4fc1ffaf..0401f699 100644 --- a/rust/tests/test_old_python_tests.rs +++ b/rust/tests/test_old_python_tests.rs @@ -15,7 +15,9 @@ use fatcat_api_spec::*; mod helpers; use helpers::setup_client; +// Disabled due to hang //#[test] +#[allow(dead_code)] fn test_api_rich_create() { let (client, context, mut server) = setup_client(); let client = client.with_context(context); @@ -191,6 +193,7 @@ fn test_api_rich_create() { * anyways. */ //#[test] +#[allow(dead_code)] fn test_merge_works() { let (client, context, mut server) = setup_client(); let client = client.with_context(context); -- cgit v1.2.3