(self)
| 22 | |
| 23 | class 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 | |
| 34 | if __name__ == "__main__": |