def test_granularity(self):
        base = self.query.metrics('pageviews')
        a = base.range('2014-07-01', '2014-07-03').get()
        b = base.range('2014-07-01', '2014-07-03').interval('day').get()
        c = base.daily('2014-07-01', '2014-07-03').get()

        self.assertEqual(len(a), 1)
        self.assertEqual(len(b), 3)
        self.assertNotEqual(len(a), len(b))
        self.assertEqual(len(b), len(c))
Calculate the contour that passes through (x,y) in data
dataset/ETHPy150Open debrouwere/google-analytics/googleanalytics/tests/query.py/TestQuerying.test_granularity--crossover with--dataset/ETHPy150Open glue-viz/glue/glue/utils/matplotlib.py/point_contour