aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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);