mirror of
https://github.com/redlib-org/redlib.git
synced 2025-06-10 08:29:40 +00:00
Improve spoofing - match headers more closely, pull in real versions/builds
This commit is contained in:
parent
4461a7d172
commit
9f41af6eee
7 changed files with 397 additions and 53 deletions
|
@ -443,7 +443,7 @@ async fn subreddit(sub: &str, quarantined: bool) -> Result<Subreddit, String> {
|
|||
})
|
||||
}
|
||||
|
||||
#[tokio::test(flavor = "multi_thread", worker_threads = 1)]
|
||||
#[tokio::test(flavor = "multi_thread", worker_threads = 8)]
|
||||
async fn test_fetching_subreddit() {
|
||||
let subreddit = subreddit("rust", false).await;
|
||||
assert!(subreddit.is_ok());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue