def test_add_get(self):
    logger = TestMetricLogger.create_logger()
    self.assertEqual(logger.get_data('train_accuracy'), [(0, 0.5), (1, 0.6)])
    self.assertEqual(logger.get_data('test_accuracy'), [(0, 0.4)])
    self.assertEqual(logger.get_data('test_loss'), [])
def test_add_get(self):
    logger = TestMetricLogger.create_logger()
    self.assertEqual(logger.get_data('train_accuracy'), [(0, 0.5), (1, 0.6)])
    self.assertEqual(logger.get_data('test_accuracy'), [(0, 0.4)])
    self.assertEqual(logger.get_data('test_loss'), [])