Advertisement
Guest User

Untitled

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