Fetch tests (first batch) (#3977)

* Customizable fetch

* Some basic Fetch tests
This commit is contained in:
Tomasz Drwięga
2016-12-27 16:38:55 +01:00
committed by Gav Wood
parent a95057abe1
commit bc3dacc952
11 changed files with 440 additions and 85 deletions

View File

@@ -224,7 +224,7 @@ mod tests {
use std::env;
use std::sync::Arc;
use util::Bytes;
use fetch::Client;
use fetch::{Fetch, Client};
use hash_fetch::urlhint::{URLHint, URLHintResult};
use parity_reactor::Remote;