From 1adab9d2f5d7863b6df32992ecb21dcea5b51d21 Mon Sep 17 00:00:00 2001 From: Sven-Hendrik Haase Date: Wed, 1 May 2019 09:13:13 +0200 Subject: Make tests into their own proper modules without star imports Star imports make it hard to see which imports a module is actually using so I prefer to have this be a bit more explicit. --- tests/upload_files.rs | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'tests/upload_files.rs') diff --git a/tests/upload_files.rs b/tests/upload_files.rs index 1bdecc3..6a24aee 100644 --- a/tests/upload_files.rs +++ b/tests/upload_files.rs @@ -1,5 +1,15 @@ mod fixtures; -use fixtures::*; + +use assert_cmd::prelude::*; +use assert_fs::fixture::TempDir; +use fixtures::{port, tmpdir, Error}; +use reqwest::multipart; +use rstest::rstest; +use select::document::Document; +use select::predicate::{Attr, Text}; +use std::process::{Command, Stdio}; +use std::thread::sleep; +use std::time::Duration; #[rstest] fn uploading_files_works(tmpdir: TempDir, port: u16) -> Result<(), Error> { -- cgit v1.2.3