class_docstr: Test for the UploadTracker class.
class_docstr_tok: ["Test","for","the","UploadTracker","class","."]
code: def testBlobTrackerNotUploaded(self):
      tracker = upload_tracker.UploadTracker(verbosity=1)
      with tracker.send_tracker():
          self.assertEqual(self.mock_write.call_count, 2)
          self.assertEqual(self.mock_flush.call_count, 2)
          self.assertIn(
              "Started scanning",
              self.mock_write.call_args_list[0][0][0],
          )
          with tracker.blob_tracker(
              blob_bytes=2048 * 1024 * 1024
          ) as blob_tracker:
              self.assertEqual(self.mock_write.call_count, 3)
              self.assertEqual(self.mock_flush.call_count, 3)
              self.assertIn(
                  "Uploading binary object (2048.0 MB)",
                  self.mock_write.call_args[0][0],
              )
              blob_tracker.mark_uploaded(is_uploaded=False)
      self.assertEqual(self.mock_write.call_count, 6)
      self.assertEqual(self.mock_flush.call_count, 5)
      self.assertIn(
          "Total uploaded: 0 scalars, 0 tensors, 0 binary objects\n",
          self.mock_write.call_args_list[3][0][0],
      )
      self.assertIn(
          "Total skipped: 1 binary objects (2048.0 MB)\n",
          self.mock_write.call_args_list[4][0][0],
      )
      self.assertEqual(tracker.has_data(), True)
  
imports: import sys
  from unittest import mock
  from tensorboard import test
  from tensorboard.uploader import upload_tracker
label_desc: Use image node_id 12 for calling the UploadTrackerTest obj's underlying member method code with example usage: obj.testBlobTrackerNotUploaded() without return types