test: define tape tests as submodule
This commit is contained in:
parent
988e8de122
commit
cc2a0b12f8
@ -7,6 +7,9 @@ use proxmox::tools::fs::{
|
||||
CreateOptions,
|
||||
};
|
||||
|
||||
#[cfg(test)]
|
||||
mod test;
|
||||
|
||||
pub mod file_formats;
|
||||
|
||||
mod tape_write;
|
||||
|
@ -1,6 +1,6 @@
|
||||
// Tape inventory tests
|
||||
//
|
||||
// # cargo test --release --test tape-inventory
|
||||
// # cargo test --release tape::test::inventory
|
||||
|
||||
use std::path::PathBuf;
|
||||
use anyhow::{bail, Error};
|
||||
@ -9,7 +9,7 @@ use proxmox::tools::{
|
||||
Uuid,
|
||||
};
|
||||
|
||||
use proxmox_backup::{
|
||||
use crate::{
|
||||
tape::{
|
||||
Inventory,
|
||||
file_formats::{
|
2
src/tape/test/mod.rs
Normal file
2
src/tape/test/mod.rs
Normal file
@ -0,0 +1,2 @@
|
||||
|
||||
mod inventory;
|
Loading…
Reference in New Issue
Block a user