======================================================================
ERROR: test_view_video_category (localtv.tests.ViewTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/vagrant/src/miro-community/localtv/tests.py", line 800, in test_view_video_category
self.assertEqual(list(response.context[0]['popular_videos']),
File "/home/vagrant/lib/python2.6/site-packages/django/template/context.py", line 55, in __getitem__
raise KeyError(key)
KeyError: 'popular_videos'
======================================================================
ERROR: test_view_video_category_referer (localtv.tests.ViewTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/vagrant/src/miro-community/localtv/tests.py", line 824, in test_view_video_category_referer
self.assertEqual(list(response.context[0]['popular_videos']),
File "/home/vagrant/lib/python2.6/site-packages/django/template/context.py", line 55, in __getitem__
raise KeyError(key)
KeyError: 'popular_videos'
======================================================================
FAIL: test_description_change (localtv.tests.OriginalVideoModelTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/vagrant/src/miro-community/localtv/tests.py", line 1898, in test_description_change
self.BASE_DATA['description'])
File "/vagrant/src/miro-community/localtv/tests.py", line 1882, in assertChanges
self.assertEqual(changed_fields, {field: old_value})
AssertionError: {'description': u'<p>Miro is a non-profit project working to build a better medi [truncated]... != {'description': u'<p>Miro is a non-profit project working to build a better medi [truncated]...
- {'description': u'<p>Miro is a non-profit project working to build a better media future as television moves online. We provide our software free to our users and other developers, despite the significant cost of developing the software. This work is made possible in part by the support of our sponsors. Please watch this video for a message from our sponsors. If you wish to support Miro yourself, please donate $10 today.</p>',
? ^
+ {'description': u'<p>Miro is a non-profit project working to build a better media future as television moves online. We provide our software free to our users and other developers, despite the significant cost of developing the software. This work is made possible in part by the support of our sponsors. Please watch this video for a message from our sponsors. If you wish to support Miro yourself, please donate $10 today.</p>'}
? ^
- 'thumbnail_updated': datetime.datetime(2012, 1, 31, 23, 48, 37, 999790)}
======================================================================
FAIL: test_name_change (localtv.tests.OriginalVideoModelTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/vagrant/src/miro-community/localtv/tests.py", line 1890, in test_name_change
self.assertChanges('name', 'Different Name', self.BASE_DATA['name'])
File "/vagrant/src/miro-community/localtv/tests.py", line 1882, in assertChanges
self.assertEqual(changed_fields, {field: old_value})
AssertionError: {'name': u'Miro appreciates the support of our sponsors', 'thumbnail_updated': d [truncated]... != {'name': u'Miro appreciates the support of our sponsors'}
- {'name': u'Miro appreciates the support of our sponsors',
? ^
+ {'name': u'Miro appreciates the support of our sponsors'}
? ^
- 'thumbnail_updated': datetime.datetime(2012, 1, 31, 23, 48, 39, 606696)}
======================================================================
FAIL: test_no_changes (localtv.tests.OriginalVideoModelTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/vagrant/src/miro-community/localtv/tests.py", line 1872, in test_no_changes
self.assertEqual(self.original.changed_fields(), {})
AssertionError: {'thumbnail_updated': datetime.datetime(2012, 1, 31, 23, 48, 48, 93681)} != {}
- {'thumbnail_updated': datetime.datetime(2012, 1, 31, 23, 48, 48, 93681)}
+ {}
======================================================================
FAIL: test_remote_video_newline_fiddling (localtv.tests.OriginalVideoModelTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/vagrant/src/miro-community/localtv/tests.py", line 2123, in test_remote_video_newline_fiddling
self.assertFalse(changes)
AssertionError: {'thumbnail_updated': datetime.datetime(2012, 1, 31, 23, 48, 49, 243389)} is not False
======================================================================
FAIL: test_tags_change (localtv.tests.OriginalVideoModelTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/vagrant/src/miro-community/localtv/tests.py", line 1905, in test_tags_change
self.assertChanges('tags', ['Different', 'Tags'], set())
File "/vagrant/src/miro-community/localtv/tests.py", line 1882, in assertChanges
self.assertEqual(changed_fields, {field: old_value})
AssertionError: {'thumbnail_updated': datetime.datetime(2012, 1, 31, 23, 48, 51, 797296), 'tags' [truncated]... != {'tags': set([])}
- {'tags': set(),
? ^
+ {'tags': set()}
? ^
- 'thumbnail_updated': datetime.datetime(2012, 1, 31, 23, 48, 51, 797296)}
======================================================================
FAIL: test_view_video (localtv.tests.ViewTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/vagrant/src/miro-community/localtv/tests.py", line 739, in test_view_video
'localtv/view_video.html')
AssertionError: 'search/indexes/localtv/video_text.txt' != 'localtv/view_video.html'
----------------------------------------------------------------------
Ran 124 tests in 552.911s
FAILED (failures=6, errors=2)