forked from pool/python-exiv2
WIP
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-exiv2?expand=0&rev=31
This commit is contained in:
14
skip_network_tests.patch
Normal file
14
skip_network_tests.patch
Normal file
@@ -0,0 +1,14 @@
|
||||
---
|
||||
tests/test_basicio.py | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
--- a/tests/test_basicio.py
|
||||
+++ b/tests/test_basicio.py
|
||||
@@ -33,6 +33,7 @@ class TestBasicIoModule(unittest.TestCas
|
||||
cls.image_path = os.path.join(test_dir, 'image_02.jpg')
|
||||
cls.data = b'The quick brown fox jumps over the lazy dog'
|
||||
|
||||
+ @unittest.skipIf('NONET' in os.environ, 'Requires network access')
|
||||
@unittest.skipUnless(exiv2.versionInfo()['EXV_USE_CURL'],
|
||||
'CurlIo not included')
|
||||
def test_CurlIo(self):
|
||||
Reference in New Issue
Block a user