pub mod client;

pub mod network;

#[cfg(test)]
mod tests {
    use super::client;

    #[test]
    fn it_works() {
        client::connect();
    }
}

pub mod client;

pub mod network;

#[cfg(test)]
mod tests {
    #[test]
    fn it_works() {
    }
}

--- 
+++ 
@@ -4,7 +4,10 @@
 
 #[cfg(test)]
 mod tests {
+    use super::client;
+
     #[test]
     fn it_works() {
+        client::connect();
     }
 }
Add example usage of super in tests
