MCPcopy Create free account
hub / github.com/Kaggle/docker-python / TestH2o

Class TestH2o

tests/test_h2o.py:5–12  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3import h2o
4
5class TestH2o(unittest.TestCase):
6 def tearDown(self):
7 h2o.cluster().shutdown(False)
8
9 def test_init_read(self):
10 h2o.init()
11 train = h2o.import_file("/input/tests/data/train.csv", destination_frame="train")
12 self.assertEqual(100, train.nrow)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected