Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [root@stagevids web]# ./run_tests.sh
- /usr/lib/python2.6/site-packages/django/db/backends/mysql/base.py:73: RuntimeWarning: MySQL received a naive datetime (2014-06-30 23:19:24) while time zone support is active.
- RuntimeWarning)
- prepare_patterns.controller_url: 'videos'
- prepare_patterns.controller_url: 'accounts'
- prepare_patterns.controller_url: 'artists'
- prepare_patterns.controller_url: 'venues'
- prepare_patterns.controller_url: 'events'
- prepare_patterns.controller_url: 'notifications'
- prepare_patterns.controller_url: 'comments'
- prepare_patterns.controller_url: 'messages'
- prepare_patterns.controller_url: 'series'
- prepare_patterns.controller_url: 'badges'
- prepare_patterns.controller_url: 'lineup'
- prepare_patterns.controller_url: 'api/auth'
- prepare_patterns.controller_url: 'api/videos'
- prepare_patterns.controller_url: 'api/users'
- prepare_patterns.controller_url: 'api/notifications'
- prepare_patterns.controller_url: 'api/chat/conversations'
- prepare_patterns.controller_url: 'api/chat/messages'
- prepare_patterns.controller_url: 'api/events'
- prepare_patterns.controller_url: 'api/references'
- prepare_patterns.controller_url: 'api/pins'
- prepare_patterns.controller_url: 'api/artists'
- prepare_patterns.controller_url: 'api/comments'
- prepare_patterns.controller_url: 'web/videos'
- prepare_patterns.controller_url: 'web/home'
- prepare_patterns.controller_url: 'web/events'
- prepare_patterns.controller_url: 'web/users'
- prepare_patterns.controller_url: 'web/auth'
- prepare_patterns.controller_url: 'web/comments'
- prepare_patterns.controller_url: 'web/notifications'
- prepare_patterns.controller_url: 'administrator/videos'
- prepare_patterns.controller_url: 'administrator/events'
- prepare_patterns.controller_url: 'administrator/artists'
- prepare_patterns.controller_url: 'administrator/advanced'
- [2016-04-16 20:51:27] response_status(/administrator/videos/add_item): 200
- .[2016-04-16 20:51:27] response_status(/administrator/videos/get_video_info): 200
- [2016-04-16 20:51:27] response_status(/administrator/videos/get_video_info): 200
- .push_notification.[user, message]: (43L, 'serg has commented your video Electric Daisy Carnival Las Vegas Jun. 21, 2015 - Alison Wonderland')
- [2016-04-16 20:51:27] response_status(api/comments/add_comment): 200
- .[2016-04-16 20:51:27] response_status(api/comments/add_subcomment): 200
- .[2016-04-16 20:51:27] response_status(api/comments/get_comments): 200
- .E[2016-04-16 20:51:28] response_status(api/users/info): 200
- .[2016-04-16 20:51:28] response_status(api/videos/get_360_video): 200
- .E/usr/lib/python2.6/site-packages/django/db/backends/mysql/base.py:73: RuntimeWarning: MySQL received a naive datetime (2016-03-17 20:51:28.389777) while time zone support is active.
- RuntimeWarning)
- /usr/lib/python2.6/site-packages/django/db/backends/mysql/base.py:73: RuntimeWarning: MySQL received a naive datetime (2016-03-17 20:51:28.394967) while time zone support is active.
- RuntimeWarning)
- [2016-04-16 20:51:28] response_status(api/videos/recent): 200
- .[2016-04-16 20:51:28] response_status(api/videos/search): 200
- [2016-04-16 20:51:28] response_status(api/videos/search): 200
- .[2016-04-16 20:51:28] response_status(api/videos/status): 200
- .E[2016-04-16 20:51:28] response_status(api/artists/auto_complete): 200
- .[2016-04-16 20:51:29] response_status(web/events/popular): 200
- .[2016-04-16 20:51:29] response_status(web/events/recent): 200
- E[2016-04-16 20:51:29] response_status(web/users/info): 200
- ./usr/lib/python2.6/site-packages/django/db/backends/mysql/base.py:73: RuntimeWarning: MySQL received a naive datetime (2016-03-17 20:51:29.677229) while time zone support is active.
- RuntimeWarning)
- /usr/lib/python2.6/site-packages/django/db/backends/mysql/base.py:73: RuntimeWarning: MySQL received a naive datetime (2016-03-17 20:51:29.679166) while time zone support is active.
- RuntimeWarning)
- [2016-04-16 20:51:29] response_status(web/users/shared_videos): 200
- .[2016-04-16 20:51:29] response_status(web/videos/get_360_video): 200
- .E[2016-04-16 20:51:29] response_status(web/videos/playlist): 200
- [2016-04-16 20:51:29] response_status(web/videos/playlist): 200
- [2016-04-16 20:51:30] response_status(web/videos/playlist): 200
- [2016-04-16 20:51:30] response_status(web/videos/playlist): 200
- [2016-04-16 20:51:30] response_status(web/videos/playlist): 200
- [2016-04-16 20:51:30] response_status(web/videos/playlist): 200
- [2016-04-16 20:51:30] response_status(web/videos/playlist): 200
- [2016-04-16 20:51:30] response_status(web/videos/playlist): 200
- [2016-04-16 20:51:31] response_status(web/videos/playlist): 200
- [2016-04-16 20:51:31] response_error(web/videos/playlist): '{"error": true}'
- F[2016-04-16 20:51:31] response_status(web/videos/popular): 200
- .[2016-04-16 20:51:31] response_status(web/videos/recent): 200
- .[2016-04-16 20:51:31] response_status(web/videos/sharing): 200
- .
- ======================================================================
- ERROR: test_like_comment (unit_tests.test_api_comments.TestApiComments)
- ----------------------------------------------------------------------
- Traceback (most recent call last):
- File "/var/www/vhosts/epv/web/unit_tests/test_api_comments.py", line 50, in test_like_comment
- response = self.client.post('/api/comments/like_comment', data)
- File "/usr/lib/python2.6/site-packages/django/test/client.py", line 483, in post
- response = super(Client, self).post(path, data=data, content_type=content_type, **extra)
- File "/usr/lib/python2.6/site-packages/django/test/client.py", line 302, in post
- return self.request(**r)
- File "/usr/lib/python2.6/site-packages/django/test/client.py", line 444, in request
- six.reraise(*exc_info)
- File "/usr/lib/python2.6/site-packages/django/core/handlers/base.py", line 114, in get_response
- response = wrapped_callback(request, *callback_args, **callback_kwargs)
- File "/usr/lib/python2.6/site-packages/django/views/decorators/csrf.py", line 57, in wrapped_view
- return view_func(*args, **kwargs)
- File "/var/www/vhosts/epv/web/controllers/__init__.py", line 86, in __call__
- res = getattr(controller, self.method)(*args, **kwargs)
- File "/var/www/vhosts/epv/web/controllers/api/decorators.py", line 7, in wrap
- res = function(self, *args, **kwargs)
- File "/var/www/vhosts/epv/web/controllers/api/decorators.py", line 17, in wrap
- res = function(self, *args, **kwargs)
- File "/var/www/vhosts/epv/web/controllers/api/comments.py", line 107, in like_comment
- self.event_notifier.user_liked_comment(id, current_user, comment['user_id'], comment['video_id'])
- TypeError: 'NoneType' object is unsubscriptable
- ======================================================================
- ERROR: test_like (unit_tests.test_api_videos.TestApiVideos)
- ----------------------------------------------------------------------
- Traceback (most recent call last):
- File "/var/www/vhosts/epv/web/unit_tests/test_api_videos.py", line 65, in test_like
- response = self.client.post('/api/videos/like', data)
- File "/usr/lib/python2.6/site-packages/django/test/client.py", line 483, in post
- response = super(Client, self).post(path, data=data, content_type=content_type, **extra)
- File "/usr/lib/python2.6/site-packages/django/test/client.py", line 302, in post
- return self.request(**r)
- File "/usr/lib/python2.6/site-packages/django/test/client.py", line 444, in request
- six.reraise(*exc_info)
- File "/usr/lib/python2.6/site-packages/django/core/handlers/base.py", line 114, in get_response
- response = wrapped_callback(request, *callback_args, **callback_kwargs)
- File "/usr/lib/python2.6/site-packages/django/views/decorators/csrf.py", line 57, in wrapped_view
- return view_func(*args, **kwargs)
- File "/var/www/vhosts/epv/web/controllers/__init__.py", line 86, in __call__
- res = getattr(controller, self.method)(*args, **kwargs)
- File "/var/www/vhosts/epv/web/controllers/api/decorators.py", line 17, in wrap
- res = function(self, *args, **kwargs)
- File "/var/www/vhosts/epv/web/controllers/api/decorators.py", line 7, in wrap
- res = function(self, *args, **kwargs)
- File "/var/www/vhosts/epv/web/controllers/api/videos.py", line 417, in like
- self.video.update_likes(video_id)
- File "/var/www/vhosts/epv/web/lib/database/video_storage.py", line 714, in update_likes
- self.update_by_id(id, dict(likes=likes))
- File "/var/www/vhosts/epv/web/lib/database/base_storage.py", line 198, in update_by_id
- self.update(data, { self._id_field: id }, debug=debug)
- File "/var/www/vhosts/epv/web/lib/database/base_storage.py", line 192, in update
- self._execute(command, values)
- File "/var/www/vhosts/epv/web/lib/database/base_storage.py", line 63, in _execute
- self._cursor.execute(*args, **kwargs)
- File "/usr/lib/python2.6/site-packages/MySQLdb/cursors.py", line 173, in execute
- self.errorhandler(self, exc, value)
- File "/usr/lib/python2.6/site-packages/MySQLdb/connections.py", line 36, in defaulterrorhandler
- raise errorclass, errorvalue
- OperationalError: (1449, "The user specified as a definer ('epv'@'localhost') does not exist")
- ======================================================================
- ERROR: test_unlike (unit_tests.test_api_videos.TestApiVideos)
- ----------------------------------------------------------------------
- Traceback (most recent call last):
- File "/var/www/vhosts/epv/web/unit_tests/test_api_videos.py", line 77, in test_unlike
- response = self.client.post('/api/videos/unlike', data)
- File "/usr/lib/python2.6/site-packages/django/test/client.py", line 483, in post
- response = super(Client, self).post(path, data=data, content_type=content_type, **extra)
- File "/usr/lib/python2.6/site-packages/django/test/client.py", line 302, in post
- return self.request(**r)
- File "/usr/lib/python2.6/site-packages/django/test/client.py", line 444, in request
- six.reraise(*exc_info)
- File "/usr/lib/python2.6/site-packages/django/core/handlers/base.py", line 114, in get_response
- response = wrapped_callback(request, *callback_args, **callback_kwargs)
- File "/usr/lib/python2.6/site-packages/django/views/decorators/csrf.py", line 57, in wrapped_view
- return view_func(*args, **kwargs)
- File "/var/www/vhosts/epv/web/controllers/__init__.py", line 86, in __call__
- res = getattr(controller, self.method)(*args, **kwargs)
- File "/var/www/vhosts/epv/web/controllers/api/decorators.py", line 17, in wrap
- res = function(self, *args, **kwargs)
- File "/var/www/vhosts/epv/web/controllers/api/decorators.py", line 7, in wrap
- res = function(self, *args, **kwargs)
- File "/var/www/vhosts/epv/web/controllers/api/videos.py", line 447, in unlike
- self.video.update_likes(video_id)
- File "/var/www/vhosts/epv/web/lib/database/video_storage.py", line 714, in update_likes
- self.update_by_id(id, dict(likes=likes))
- File "/var/www/vhosts/epv/web/lib/database/base_storage.py", line 198, in update_by_id
- self.update(data, { self._id_field: id }, debug=debug)
- File "/var/www/vhosts/epv/web/lib/database/base_storage.py", line 192, in update
- self._execute(command, values)
- File "/var/www/vhosts/epv/web/lib/database/base_storage.py", line 63, in _execute
- self._cursor.execute(*args, **kwargs)
- File "/usr/lib/python2.6/site-packages/MySQLdb/cursors.py", line 173, in execute
- self.errorhandler(self, exc, value)
- File "/usr/lib/python2.6/site-packages/MySQLdb/connections.py", line 36, in defaulterrorhandler
- raise errorclass, errorvalue
- OperationalError: (1449, "The user specified as a definer ('epv'@'localhost') does not exist")
- ======================================================================
- ERROR: test_recent (unit_tests.test_web_events.TestEvents)
- ----------------------------------------------------------------------
- Traceback (most recent call last):
- File "/var/www/vhosts/epv/web/unit_tests/test_web_events.py", line 50, in test_recent
- self.assertTrue(e_date > current_date, 'incorrect date_start: date before now')
- TypeError: can't compare datetime.datetime to unicode
- ======================================================================
- ERROR: test_increment_views_count (unit_tests.test_web_videos.TestVideos)
- ----------------------------------------------------------------------
- Traceback (most recent call last):
- File "/var/www/vhosts/epv/web/unit_tests/test_web_videos.py", line 67, in test_increment_views_count
- response = self.client.post('/web/videos/increment_views_count', data)
- File "/usr/lib/python2.6/site-packages/django/test/client.py", line 483, in post
- response = super(Client, self).post(path, data=data, content_type=content_type, **extra)
- File "/usr/lib/python2.6/site-packages/django/test/client.py", line 302, in post
- return self.request(**r)
- File "/usr/lib/python2.6/site-packages/django/test/client.py", line 444, in request
- six.reraise(*exc_info)
- File "/usr/lib/python2.6/site-packages/django/core/handlers/base.py", line 114, in get_response
- response = wrapped_callback(request, *callback_args, **callback_kwargs)
- File "/usr/lib/python2.6/site-packages/django/views/decorators/csrf.py", line 57, in wrapped_view
- return view_func(*args, **kwargs)
- File "/var/www/vhosts/epv/web/controllers/__init__.py", line 86, in __call__
- res = getattr(controller, self.method)(*args, **kwargs)
- File "/var/www/vhosts/epv/web/controllers/web/decorators.py", line 17, in wrap
- res = function(self, *args, **kwargs)
- File "/var/www/vhosts/epv/web/controllers/web/videos.py", line 182, in increment_views_count
- self.video.increment_views_count(form_data.pop('id'))
- File "/var/www/vhosts/epv/web/lib/database/video_storage.py", line 703, in increment_views_count
- self.update_by_id(id, dict(views=count))
- File "/var/www/vhosts/epv/web/lib/database/base_storage.py", line 198, in update_by_id
- self.update(data, { self._id_field: id }, debug=debug)
- File "/var/www/vhosts/epv/web/lib/database/base_storage.py", line 192, in update
- self._execute(command, values)
- File "/var/www/vhosts/epv/web/lib/database/base_storage.py", line 63, in _execute
- self._cursor.execute(*args, **kwargs)
- File "/usr/lib/python2.6/site-packages/MySQLdb/cursors.py", line 173, in execute
- self.errorhandler(self, exc, value)
- File "/usr/lib/python2.6/site-packages/MySQLdb/connections.py", line 36, in defaulterrorhandler
- raise errorclass, errorvalue
- OperationalError: (1449, "The user specified as a definer ('epv'@'localhost') does not exist")
- ======================================================================
- FAIL: test_playlist (unit_tests.test_web_videos.TestVideos)
- ----------------------------------------------------------------------
- Traceback (most recent call last):
- File "/var/www/vhosts/epv/web/unit_tests/test_web_videos.py", line 37, in test_playlist
- self.assertEqual(res['error'], False)
- AssertionError: True != False
- ----------------------------------------------------------------------
- Ran 24 tests in 4.552s
- FAILED (failures=1, errors=5)
Advertisement
Add Comment
Please, Sign In to add comment