Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ======================================================================
- FAIL: get_posts_test (whitelabel.tests.sources_tests.TestMostPopularSource)
- ----------------------------------------------------------------------
- Traceback (most recent call last):
- File "/mnt/local/home/lukasz/rebelmouse/whitelabel/tests/sources_tests.py", line 22, in get_posts_test
- mock.assert_called_with(self.site.id, 24, 'hour', 20, [])
- File "/mnt/local/home/lukasz/envs/rebelmouse/local/lib/python2.7/site-packages/mock.py", line 835, in assert_called_with
- raise AssertionError(msg)
- AssertionError: Expected call: _PostStats__get_most_popular_posts_mysql(6L, 24, 'hour', 20, [])
- Actual call: _PostStats__get_most_popular_posts_mysql(6, None, 24, 'hour', 20, [])
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement