update-ssh-keys 0.7.0

A tool for managing authorized SSH keys
Documentation
use std::env;
use std::process::Command;

// This runs the old python integration test-suite to ensure
// retro-compatibility.
#[test]
fn test_compat_python_suite() {
    let pytests = env::current_dir()
        .unwrap()
        .join("tests")
        .join("test_update_ssh_keys.py");
    let result = Command::new(pytests).output().unwrap();
    if !result.status.success() {
        panic!(format!(
            "\nstdout: {}\nstderr: {}",
            String::from_utf8_lossy(&result.stdout),
            String::from_utf8_lossy(&result.stderr)
        ));
    };
    assert!(result.status.success());
}