code: def test_table_formatter_two_metrics(self):
      tf = TensorBoardText.table_formatter
  
      metrics = str({"test_metric_1": 1, "test_metric_2": 2})
      table = tf(metrics).replace(" ", "")
  
      self.assertIn("<tr><td>test_metric_1</td><td>1</td></tr>", table)
      self.assertIn("<tr><td>test_metric_2</td><td>2</td></tr>", table)
  
imports: import os
  from unittest import TestCase
  import warnings
  import torch
  import torch.nn
  from mock import patch, Mock, ANY, MagicMock
  import torchbearer
  from torchbearer.callbacks import TensorBoard, TensorBoardImages, TensorBoardProjector, TensorBoardText
label_desc: Use image node_id 2 for calling the TestTensorbardText obj's underlying member method code with example usage: obj.test_table_formatter_two_metrics() without return types