code: def test_table_formatter_one_metric(self):
      tf = TensorBoardText.table_formatter
  
      metrics = str({"test_metric_1": 1})
      table = tf(metrics).replace(" ", "")
  
      correct_table = "<table><th>Metric</th><th>Value</th><tr><td>test_metric_1</td><td>1</td></tr></table>"
      self.assertEqual(table, correct_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 1 for calling the TestTensorbardText obj's underlying member method code with example usage: obj.test_table_formatter_one_metric() without return types