update ffmpeg tests
This commit is contained in:
parent
50f15bee7d
commit
3b87f862ea
1 changed files with 2 additions and 4 deletions
|
@ -91,13 +91,11 @@ mod test {
|
|||
|
||||
#[test]
|
||||
fn test_bg_video_creation() {
|
||||
let video = Path::new(
|
||||
"/home/chris/vids/All WebDev Sucks and you know it.webm",
|
||||
);
|
||||
let video = Path::new("/home/chris/vids/moms-funeral.mp4");
|
||||
let screenshot = bg_path_from_video(video);
|
||||
let screenshot_string =
|
||||
screenshot.to_str().expect("Should be thing");
|
||||
assert_eq!(screenshot_string, "/home/chris/.local/share/lumina/thumbnails/All WebDev Sucks and you know it.png");
|
||||
assert_eq!(screenshot_string, "/home/chris/.local/share/lumina/thumbnails/moms-funeral.png");
|
||||
|
||||
// let runtime = tokio::runtime::Runtime::new().unwrap();
|
||||
let result = bg_from_video(video, &screenshot);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue