aboutsummaryrefslogtreecommitdiffstats
path: root/tests/create_directories.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/create_directories.rs')
-rw-r--r--tests/create_directories.rs18
1 files changed, 11 insertions, 7 deletions
diff --git a/tests/create_directories.rs b/tests/create_directories.rs
index 380c796..c15b40f 100644
--- a/tests/create_directories.rs
+++ b/tests/create_directories.rs
@@ -1,15 +1,19 @@
-mod fixtures;
-
-use fixtures::{server, Error, TestServer, DIRECTORIES};
-use reqwest::blocking::{multipart, Client};
-use rstest::rstest;
-use select::document::Document;
-use select::predicate::{Attr, Text};
#[cfg(unix)]
use std::os::unix::fs::symlink as symlink_dir;
#[cfg(windows)]
use std::os::windows::fs::symlink_dir;
+use reqwest::blocking::{multipart, Client};
+use rstest::rstest;
+use select::{
+ document::Document,
+ predicate::{Attr, Text},
+};
+
+mod fixtures;
+
+use crate::fixtures::{server, Error, TestServer, DIRECTORIES};
+
/// This should work because the flags for uploading files and creating directories
/// are set, and the directory name and path are valid.
#[rstest]