summaryrefslogtreecommitdiff
path: root/dev-python/vatnumber/files/vatnumber-1.0-skiptest.patch
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/vatnumber/files/vatnumber-1.0-skiptest.patch')
-rw-r--r--dev-python/vatnumber/files/vatnumber-1.0-skiptest.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/dev-python/vatnumber/files/vatnumber-1.0-skiptest.patch b/dev-python/vatnumber/files/vatnumber-1.0-skiptest.patch
new file mode 100644
index 00000000000..9c99901cd45
--- /dev/null
+++ b/dev-python/vatnumber/files/vatnumber-1.0-skiptest.patch
@@ -0,0 +1,18 @@
+Remove test that accesses network, bug 440964
+diff -ur vatnumber-1.0.orig/vatnumber/tests.py vatnumber-1.0/vatnumber/tests.py
+--- vatnumber/tests.py 2011-09-28 18:32:09.000000000 +0800
++++ vatnumber/tests.py 2012-11-26 12:32:46.177509425 +0800
+@@ -198,13 +198,6 @@
+ test = self.assertFalse
+ test(vatnumber.check_vat(code + number), code + number)
+
+- def test_vies(self):
+- '''
+- Test vies
+- '''
+- for vat in VIES_NUMBERS:
+- self.assert_(vatnumber.check_vies(vat))
+-
+ def test_countries(self):
+ '''
+ Test countries