diff options
author | Bryan Newbold <bnewbold@robocracy.org> | 2019-01-08 21:43:14 -0800 |
---|---|---|
committer | Bryan Newbold <bnewbold@robocracy.org> | 2019-01-08 21:43:17 -0800 |
commit | eb6fb8e5fe1efb3fbb927d13075cf5a1b33aa83e (patch) | |
tree | c5f4daeed7e661bdfe41c432d0e8921d3f146489 /rust/tests/test_old_python_tests.rs | |
parent | ba1bde18d780db53ac3562a3be9ae62bb5729db6 (diff) | |
download | fatcat-eb6fb8e5fe1efb3fbb927d13075cf5a1b33aa83e.tar.gz fatcat-eb6fb8e5fe1efb3fbb927d13075cf5a1b33aa83e.zip |
rust 2018 edition!
Only the basics to get things to compile/test again in this commit.
Diffstat (limited to 'rust/tests/test_old_python_tests.rs')
-rw-r--r-- | rust/tests/test_old_python_tests.rs | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/rust/tests/test_old_python_tests.rs b/rust/tests/test_old_python_tests.rs index 0401f699..d607fa42 100644 --- a/rust/tests/test_old_python_tests.rs +++ b/rust/tests/test_old_python_tests.rs @@ -13,13 +13,12 @@ use fatcat_api_spec::models::*; 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, context, mut server) = helpers::setup_client(); let client = client.with_context(context); let admin_id = "aaaaaaaaaaaabkvkaaaaaaaaae".to_string(); @@ -195,7 +194,7 @@ fn test_api_rich_create() { //#[test] #[allow(dead_code)] fn test_merge_works() { - let (client, context, mut server) = setup_client(); + let (client, context, mut server) = helpers::setup_client(); let client = client.with_context(context); let admin_id = "aaaaaaaaaaaabkvkaaaaaaaaae".to_string(); |