Skip to content

Commit

Permalink
changed test to work with recent changes in the twitter templates
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonas Obrist committed Feb 28, 2011
1 parent 7d8767c commit 5385bbf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cms/tests/plugins.py
Expand Up @@ -345,7 +345,7 @@ def test_09_inheritplugin_media(self):

self.client.logout()
response = self.client.get(page.get_absolute_url())
self.assertTrue('http://twitter.com/javascripts/blogger.js' in response.content)
self.assertTrue('%sjs/plugins/jquery.tweet.js' % settings.CMS_MEDIA_URL in response.content, response.content)

def test_10_fileplugin_icon_uppercase(self):
page = self.create_page(title='testpage')
Expand Down

0 comments on commit 5385bbf

Please sign in to comment.