nbr 0.4.3

CLI for NoneBot2 - A Rust implementation
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
mod common;
use nbr::uv;

#[tokio::test]
async fn test_uv_operations_snapshot() {
    let (_dir, project_path) = common::create_temp_project(true).await;

    let package = uv::show_package_info("nonebot2", Some(&project_path))
        .await
        .unwrap();

    insta::assert_yaml_snapshot!("uv_show_package_info", package, {
        ".location" => "[LOCATION]",
        ".version" => "[VERSION]",
    });
}