Skip to content

Commit

Permalink
Test that results of old and new form reads are the same
Browse files Browse the repository at this point in the history
  • Loading branch information
kinghuang committed Aug 24, 2020
1 parent a1fb909 commit f1a9b73
Showing 1 changed file with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,15 @@ def return_df(_, input_df):
assert result.success
assert assert_eq(result.output_value(), create_dask_df())

read_result = execute_solid(
return_df,
run_config={
'solids': {'return_df': {'inputs': {'input_df': {'read': {file_type: {'path': file_name}}}}}}
},
)
assert read_result.success
assert assert_eq(result.output_value(), read_result.output_value())


@pytest.mark.parametrize(
'file_type,read,kwargs',
Expand Down

0 comments on commit f1a9b73

Please sign in to comment.