Package: python-mpegdash / 0.1.5-2

0001-Prevent-internet-access-in-test.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
From bc34a4e56eba89e7dd176711664e2902297bcb70 Mon Sep 17 00:00:00 2001
From: Ondrej Koblizek <ondrej.koblizek@firma.seznam.cz>
Date: Wed, 18 May 2016 15:29:38 +0200
Subject: Prevent internet access in test

---
 tests/test_xmltompd.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tests/test_xmltompd.py b/tests/test_xmltompd.py
index decda3d..dc877b8 100644
--- a/tests/test_xmltompd.py
+++ b/tests/test_xmltompd.py
@@ -32,6 +32,7 @@ class XML2MPDTestCase(unittest.TestCase):
         self.assert_mpd(MPEGDASHParser.parse('./tests/mpd-samples/oops-20120802-manifest.mpd'))
         self.assert_mpd(MPEGDASHParser.parse('./tests/mpd-samples/360p_speciment_dash.mpd'))
 
+    @unittest.skip("Prevent internet access")
     def test_xml2mpd_from_url(self):
         mpd_url = 'http://yt-dash-mse-test.commondatastorage.googleapis.com/media/motion-20120802-manifest.mpd'
         self.assert_mpd(MPEGDASHParser.parse(mpd_url))