import sys
sys.path.insert(1, "../../")
import h2o

def test_in(ip,port):
    #TODO PUBDEV-
    iris = h2o.import_frame(h2o.locate("smalldata/iris/iris.csv"))

    assert 5.1 in iris[0], "expected 5.1 to be in the first column, but it wasn't"
    assert 1.7 in iris, "expected 1.7 to be in the dataset, but it wasn't"
    assert not 99 in iris, "didn't expect 99 to be in the dataset, but it was"
    assert "Iris-setosa" in iris[4], "expected Iris-setosa to be in the dataset, but it wasn't"

if __name__ == "__main__":
    h2o.run_test(sys.argv, test_in)
add python in operator NOPASS pyunit. PUBDEV-1751