Permalink
Browse files

adjust tests to new code in 46bed49

  • Loading branch information...
1 parent 46bed49 commit 75eb36887ccd6f49f3f5323e3620258b2bd893ad @hannosch hannosch committed Feb 22, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 monolith/tests/tests_views.py
@@ -17,8 +17,8 @@ def setUp(self):
def test_get_info(self):
res = self.app.get('/')
info = res.json
- self.assertEqual(info['fields'],
- ['downloads_count', 'users_count'])
+ self.assertEqual(set(info['fields']),
+ set(['downloads_count', 'pageviews', 'users_count']))
def test_query_time(self):
mock_search = mock.Mock()

0 comments on commit 75eb368

Please sign in to comment.