diff options
| author | Linus Färnstrand <linus@mullvad.net> | 2017-07-10 09:52:08 +0200 |
|---|---|---|
| committer | Linus Färnstrand <linus@mullvad.net> | 2017-07-10 10:00:32 +0200 |
| commit | ef588b3ef2c0966d4e521058e5b8fadf11bab9f4 (patch) | |
| tree | 5287acf4329bfe21b3c037506bb85720f724325e /talpid_ipc/src | |
| parent | f841a3fd0c6fcf4d2db281ed6a40843d6921fc05 (diff) | |
| download | mullvadvpn-ef588b3ef2c0966d4e521058e5b8fadf11bab9f4.tar.xz mullvadvpn-ef588b3ef2c0966d4e521058e5b8fadf11bab9f4.zip | |
Fix WsIpcClient tests
Diffstat (limited to 'talpid_ipc/src')
| -rw-r--r-- | talpid_ipc/src/client.rs | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/talpid_ipc/src/client.rs b/talpid_ipc/src/client.rs index 56f4f5c121..5d63db24f9 100644 --- a/talpid_ipc/src/client.rs +++ b/talpid_ipc/src/client.rs @@ -121,23 +121,3 @@ impl WsIpcClient { id } } - - -#[cfg(test)] -mod tests { - extern crate env_logger; - use super::*; - - // TODO(linus): This is not a test. Just an ugly way to quickly test the client implementation - #[test] - #[ignore] - fn ws_ipc_client_tester() { - env_logger::init().unwrap(); - - let mut ws = WsIpcClient::new("ws://127.0.0.1:INSERT_PORT".to_owned()).unwrap(); - let event = serde_json::Value::String("Up".to_owned()); - let env = serde_json::Value::Object(serde_json::Map::new()); - let params = serde_json::Value::Array(vec![event, env]); - println!("CALL RESULT: {:?}", ws.call("openvpn_event", ¶ms)); - } -} |
