def METHOD_NAME(self):
    p = self.session.query(Platform).filter_by(id=1).first()
    results = q.get_platform_track(db.session(), p, quantum="day")
    self.assertEqual(len(results), 5)
    self.assertAlmostEqual(results[0][1], 59.68256664277501)
    self.assertAlmostEqual(results[0][0], -17.464450200408336)
    results = q.get_platform_track(db.session(), p, quantum="year")
    self.assertEqual(len(results), 1)
    results = q.get_platform_track(
        db.session(),
        p,
        quantum="hour",
        starttime=datetime.datetime(
            2018, 2, 6, 14, 31, 36, tzinfo=datetime.timezone.utc
        ),
    )
    self.assertEqual(len(results), 3)