Package: paste / 3.0.6+dfsg-1

0002-Skip-test-with-network-access.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
From: =?utf-8?b?T25kxZllaiBOb3bDvQ==?= <novy@ondrej.org>
Date: Thu, 10 Mar 2016 21:38:21 +0100
Subject: Skip test with network access
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit

Author: Ondřej Nový <novy@ondrej.org>
Forwarded: no
---
 tests/test_proxy.py | 4 ++++
 1 file changed, 4 insertions(+)

--- a/tests/test_proxy.py
+++ b/tests/test_proxy.py
@@ -1,6 +1,9 @@
 from paste import proxy
 from paste.fixture import TestApp
 
+import pytest
+
+@pytest.mark.skip(reason="Prevent internet access")
 def test_proxy_to_website():
     # Not the most robust test...
     # need to test things like POSTing to pages, and getting from pages