aboutsummaryrefslogtreecommitdiffstats
path: root/rust/tests
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2019-02-01 17:20:35 -0800
committerBryan Newbold <bnewbold@robocracy.org>2019-02-05 17:09:58 -0800
commitc6b6943502b29282c6573987edef330a535a79c6 (patch)
treefaacd108774a4b6528b22cf13497dc3928a0cb0a /rust/tests
parent6f6955e0971e162d61cf001431bb861f4d99466e (diff)
downloadfatcat-c6b6943502b29282c6573987edef330a535a79c6.tar.gz
fatcat-c6b6943502b29282c6573987edef330a535a79c6.zip
rust: remove client tests (unused)
Basically all of this has moved to python, which is fine.
Diffstat (limited to 'rust/tests')
-rw-r--r--rust/tests/test_api_server_client.rs25
1 files changed, 0 insertions, 25 deletions
diff --git a/rust/tests/test_api_server_client.rs b/rust/tests/test_api_server_client.rs
deleted file mode 100644
index 96d8d924..00000000
--- a/rust/tests/test_api_server_client.rs
+++ /dev/null
@@ -1,25 +0,0 @@
-/*
- * This file contains API server tests that hit the API through the Rust API client library.
- *
- * These tests are relatively complex and mutate database state. Tests should take care not to be
- * racey or overwrite each other; for example, they should randomize external identifiers and
- * minimize reliance on hard-coded example entities.
- *
- * Note that these tests currently do *not* include tests the authentication system, or any other
- * middleware.
- */
-
-use fatcat_api_spec::{ApiNoContext, ContextWrapperExt, Future};
-
-mod helpers;
-
-// Disabled due to hang
-//#[test]
-#[allow(dead_code)]
-fn test_basic() {
- let (client, context, mut server) = helpers::setup_client();
- let client = client.with_context(context);
-
- client.get_changelog_entry(1).wait().unwrap();
- server.close().unwrap()
-}