Skip to content

Commit

Permalink
Fix Vimeo test
Browse files Browse the repository at this point in the history
  • Loading branch information
hvelarde committed Oct 14, 2016
1 parent 2527b7e commit 0455571
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion src/sc/embedder/testing.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@

import pkg_resources


try:
pkg_resources.get_distribution('plone.app.contenttypes')
except pkg_resources.DistributionNotFound:
Expand Down
4 changes: 2 additions & 2 deletions src/sc/embedder/tests/test_content.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,8 +151,8 @@ def test_vimeo_oembed(self):
add_form.widgets['IDublinCore.title'].value, u'The Backwater Gospel')
self.assertNotEqual(
add_form.widgets['IDublinCore.description'].value, u'')
self.assertEqual(add_form.widgets['width'].value, u'1280')
self.assertEqual(add_form.widgets['height'].value, u'720')
self.assertEqual(add_form.widgets['width'].value, u'480')
self.assertEqual(add_form.widgets['height'].value, u'272')
self.assertIn(
u'player.vimeo.com/video/17914974',
add_form.widgets['embed_html'].value
Expand Down

0 comments on commit 0455571

Please sign in to comment.