Skip to content

Test suite broken #5

@copelco

Description

@copelco

I think viddler changed their API again (they moved the position of the "wmode" attribute. Anyways, this fixed the test suite for me:

diff --git a/oembed/tests.py b/oembed/tests.py
index 3b7cef1..639b382 100644
--- a/oembed/tests.py
+++ b/oembed/tests.py
@@ -11,7 +11,7 @@ class OEmbedTests(TestCase):

     loc = u"http://www.viddler.com/explore/SYSTM/videos/49/"

-    embed = u'<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width=\r\n"320" height="222" id="viddlerplayer-e5cb3aac"><param name="movie" value="http://www.viddler.com/player/e5cb3aac/" /><param name="allowScriptAccess" value="always" /><param name="wmode" value="transparent" /><param name="allowFullScreen" value="true" /><embed src="http://www.viddler.com/player/e5cb3aac/" width="320" height="222" type="application/x-shockwave-flash" allowScriptAccess="always" allowFullScreen="true" wmode="transparent" name="viddlerplayer-e5cb3aac" ></embed></object>'
+    embed = u'<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="320" height="222" id="viddlerplayer-e5cb3aac"><param name="movie" value="http://www.viddler.com/player/e5cb3aac/" /><param name="allowScriptAccess" value="always" /><param name="wmode" value="transparent" /><param name="allowFullScreen" value="true" /><embed src="http://www.viddler.com/player/e5cb3aac/" width="320" height="222" type="application/x-shockwave-flash" wmode="transparent" allowScriptAccess="always" allowFullScreen="true" name="viddlerplayer-e5cb3aac" ></embed></object>'

     def testNoEmbed(self):
         self.assertEquals(

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions