Use existing excel files
This commit is contained in:
parent
1952f4c55d
commit
0dd46385cd
2 changed files with 19 additions and 17 deletions
|
@ -101,14 +101,16 @@ mod test {
|
|||
|
||||
use std::collections::HashMap;
|
||||
|
||||
#[test_case("resources/CEPI-method_Laufzettel_Part I_V22.9_Adapack_Muster 1.xlsx")]
|
||||
#[test_case("resources/CEPI-method_Laufzettel_Part I_V23.02_Cascogne_Muster1.xlsx")]
|
||||
#[test_case("resources/CEPI-method_Laufzettel_Part I_V23.03_Intertape Packaging_Muster 1.xlsx")]
|
||||
#[test_case("resources/CEPI-method_Laufzettel_Part I_V23.04_Cats Flexible Packaging_M1.xlsx")]
|
||||
#[test_case("../laufzettel/CEPI-method_Laufzettel_Part I_V22.8_Metsä Board_Muster1.xlsx")]
|
||||
#[test_case("../laufzettel/CEPI-method_Laufzettel_Part I_V22.9_Adapack_Muster 1.xlsx")]
|
||||
#[test_case("../laufzettel/CEPI-method_Laufzettel_Part I_V23.02_Cascogne_Muster1.xlsx")]
|
||||
#[test_case(
|
||||
"../laufzettel/CEPI-method_Laufzettel_Part I_V23.04_Cats Flexible Packaging_M1.xlsx"
|
||||
)]
|
||||
fn verify_cepi(file: &str) -> Result<()> {
|
||||
let cepi_reader = PythonObject::new("python-cepi/cepi_read_function.py")?;
|
||||
let cepi_reader = PythonObject::new("../python-cepi-master/cepi_read_function.py")?;
|
||||
|
||||
cepi_reader.execute_script(
|
||||
let result = cepi_reader.execute_script(
|
||||
"read",
|
||||
&file,
|
||||
|r: HashMap<String, HashMap<String, String>>| Ok(r),
|
||||
|
|
Loading…
Reference in a new issue