'Testing whether the API returns an empty list when downloads are fetched but no downloads are active'

@deferred(timeout=10)
def test_get_downloads_no_downloads(self):

    return self.do_request('downloads?get_peers=1&get_pieces=1', expected_code=200, expected_json={'downloads': []})
