def assertActivitiesEqual(self, a, b):
        if a == b:
            return
        else:
            self.assertEqual(a.StartTime, b.StartTime)
            self.assertEqual(a.EndTime, b.EndTime)
            self.assertEqual(a.Type, b.Type)
            self.assertEqual(a.Stats.Distance, b.Stats.Distance)
            self.assertEqual(a.Name, b.Name)
            self.assertLapsListsEqual(a.Laps, b.Laps)
compare activity records with more granular asserts
dataset/ETHPy150Open cpfair/tapiriik/tapiriik/testing/testtools.py/TapiriikTestCase.assertActivitiesEqual