def test_ColumnsExistProfiler():
    toy_dataset = PandasDataset({'x': [1, 2, 3]})
    (expectations_config, evr_config) = ColumnsExistProfiler.profile(toy_dataset)
    assert (len(expectations_config['expectations']) == 1)
    assert (expectations_config['expectations'][0]['expectation_type'] == 'expect_column_to_exist')
    assert (expectations_config['expectations'][0]['kwargs']['column'] == 'x')
def test_ColumnsExistProfiler():
    toy_dataset = PandasDataset({'x': [1, 2, 3]})
    (expectations_config, evr_config) = ColumnsExistProfiler.profile(toy_dataset)
    assert (len(expectations_config['expectations']) == 1)
    assert (expectations_config['expectations'][0]['expectation_type'] == 'expect_column_to_exist')
    assert (expectations_config['expectations'][0]['kwargs']['column'] == 'x')