summaryrefslogtreecommitdiffstats
path: root/rust/tests
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2019-01-08 16:32:00 -0800
committerBryan Newbold <bnewbold@robocracy.org>2019-01-08 16:33:25 -0800
commit88343cad1aba370d4dc8a8313175ba07de0d7a06 (patch)
tree1054f0e27a390e9756e1ac48e97ee2b979dd2410 /rust/tests
parent16f2e78298dbd2231f5f337ea17c89a6a131a052 (diff)
downloadfatcat-88343cad1aba370d4dc8a8313175ba07de0d7a06.tar.gz
fatcat-88343cad1aba370d4dc8a8313175ba07de0d7a06.zip
squelch more test warnings
Diffstat (limited to 'rust/tests')
-rw-r--r--rust/tests/test_api_server_client.rs3
-rw-r--r--rust/tests/test_old_python_tests.rs3
2 files changed, 5 insertions, 1 deletions
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);