Riven/tests/tests_tr.rs

24 lines
566 B
Rust
Raw Normal View History

2019-10-20 07:54:01 +00:00
#![feature(custom_test_frameworks)]
#![test_runner(my_runner)]
mod async_tests;
2019-10-31 05:52:00 +00:00
mod testutils;
use testutils::*;
2019-10-20 07:54:01 +00:00
use colored::*;
use riven::consts::*;
2019-10-20 07:54:01 +00:00
async_tests!{
my_runner {
league_summoner_bulk_test: async {
let p = RIOT_API.league_v4().get_challenger_league(Region::TR, QueueType::RANKED_SOLO_5x5);
let ll = p.await.map_err(|e| e.to_string())?.ok_or("Failed to get challenger league".to_owned())?;
// println!("{:#?}", ll);
// TODO!!!
2019-10-20 07:54:01 +00:00
Ok(())
},
}
}