feat(status): relative path of obj
This commit is contained in:
@@ -66,6 +66,13 @@ impl ClientTest {
|
||||
Config::from(Some(&self.volume))
|
||||
}
|
||||
|
||||
pub fn new_config(&self, path: &str) -> Config {
|
||||
let mut full_path = self.volume.clone();
|
||||
full_path.push_str("/");
|
||||
full_path.push_str(path);
|
||||
Config::from(Some(&full_path))
|
||||
}
|
||||
|
||||
pub fn ok(self) -> io::Result<()> {
|
||||
fs::remove_dir_all(&self.volume)?;
|
||||
Ok(())
|
||||
|
||||
Reference in New Issue
Block a user