test poolable against s3

This commit is contained in:
Martin Algesten
2018-06-30 23:05:40 +02:00
parent e2686e3bd5
commit 548b5d80c2
4 changed files with 67 additions and 1 deletions

View File

@@ -325,6 +325,11 @@ impl Agent {
{
self.request("PATCH", path)
}
#[cfg(test)]
pub fn state(&self) -> &Arc<Mutex<Option<AgentState>>> {
&self.state
}
}
fn basic_auth(user: &str, pass: &str) -> String {