Commit 9b6c0859 authored by Martín Ferrari's avatar Martín Ferrari

Patch tests that try to access the network. Closes: #830672.

parent 08f9f982
......@@ -11,6 +11,7 @@ golang-github-azure-go-autorest (7.0.4-2) UNRELEASED; urgency=medium
- Update Standards-Version (no changes).
- Remove Built-Using.
* debian/rules: Use --no-binaries.
* Patch tests that try to access the network. Closes: #830672.
-- Paul Tagliamonte <paultag@debian.org> Wed, 29 Jun 2016 20:20:54 -0400
......
Description: Prevent test from accessing the network.
Forwarded: https://github.com/Azure/go-autorest/issues/83
Bug-Debian: http://bugs.debian.org/830672
Author: Martín Ferrari <tincho@debian.org>
Last-Update: 2016-07-22
--- a/autorest/client_test.go
+++ b/autorest/client_test.go
@@ -151,6 +151,8 @@
ua := "UserAgent"
c := Client{UserAgent: ua}
r := mocks.NewRequest()
+ s := mocks.NewSender()
+ c.Sender = s
c.Do(r)
01-Bug#830672-Do_not_access_the_network.patch
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment