Add some tests

This commit is contained in:
Marc Plano-Lesay 2024-11-06 14:36:46 +11:00
parent bc46df634d
commit c525f63660
Signed by: kernald
GPG key ID: 66A41B08CC62A6CF
6 changed files with 889 additions and 27 deletions

View file

@ -1,4 +1,12 @@
include!(concat!(env!("OUT_DIR"), "/codegen.rs"));
include!(concat!(env!("OUT_DIR"), "/client.rs"));
#[cfg(test)]
mod tests {
#[allow(dead_code)]
pub mod apimock {
include!(concat!(env!("OUT_DIR"), "/mock.rs"));
}
}
use crate::args::Commands;
use args::{AssetsCommands, PeopleCommands, ServerCommands};