MCPcopy Index your code
hub / github.com/tensorflow/tensorboard / test

Method test

tensorboard/assets_test.py:24–31  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

22
23class AssetsTest(tb_test.TestCase):
24 def test(self):
25 provider = assets.get_default_assets_zip_provider()
26 self.assertIsNotNone(provider)
27
28 assets_zip = provider()
29 with zipfile.ZipFile(assets_zip) as zf:
30 with zf.open("index.html") as index_file:
31 self.assertIsInstance(index_file.read(), bytes)
32
33
34if __name__ == "__main__":

Callers

nothing calls this directly

Calls 2

providerFunction · 0.85
readMethod · 0.45

Tested by

no test coverage detected