'Verify that the view\'s query count doesn\'t regress.'

def test_queries(self):

    course_home_url(self.course)
    with self.assertNumQueries(42, table_blacklist=QUERY_COUNT_TABLE_BLACKLIST):
        with check_mongo_calls(4):
            url = course_home_url(self.course)
            self.client.get(url)
