rama 0.2.0

modular service framework
Documentation
1
2
3
4
5
6
7
8
9
10
11
use super::utils;

#[tokio::test]
#[ignore]
async fn test_http_ip() {
    let _guard = utils::RamaService::ip(63100);

    let lines = utils::RamaService::http(vec!["http://127.0.0.1:63100"]).unwrap();
    assert!(lines.contains("HTTP/1.1 200 OK"));
    assert!(lines.contains("127.0.0.1:"));
}