Skip to content

Commit

Permalink
Remove schema_inputs (#76)
Browse files Browse the repository at this point in the history
  • Loading branch information
mmcgr authored Aug 17, 2023
1 parent 1bde78b commit bff097c
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions src/testrel.jl
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,6 @@ struct Step
query::Option{String}
install::Dict{String, String}
broken::Bool
schema_inputs::AbstractDict
inputs::AbstractDict
expected::AbstractDict
expected_problems::Vector
Expand All @@ -161,7 +160,6 @@ function Step(;
query::Option{String}=nothing,
install::AcceptedSourceTypes=Dict{String, String}(),
broken::Bool=false,
schema_inputs::AbstractDict=Dict(),
inputs::AbstractDict=Dict(),
expected::AbstractDict=Dict(),
expected_problems::Vector=[],
Expand All @@ -174,7 +172,6 @@ function Step(;
query,
convert_to_install_kv(install),
broken,
schema_inputs,
inputs,
expected,
expected_problems,
Expand Down Expand Up @@ -265,7 +262,6 @@ function test_rel(;
abort_on_error::Bool=false,
debug::Bool=false,
debug_trace::Bool=false,
schema_inputs::AbstractDict=Dict(),
inputs::AbstractDict=Dict(),
expected::AbstractDict=Dict(),
expected_problems::Vector=[],
Expand Down Expand Up @@ -294,9 +290,6 @@ function test_rel(;
if !isempty(install)
insert!(steps, 1, Step(; install=convert_to_install_kv(install)))
end
if !isempty(schema_inputs)
insert!(steps, 1, Step(; schema_inputs=schema_inputs))
end
if !isempty(inputs)
insert!(steps, 1, Step(; inputs=inputs))
end
Expand Down Expand Up @@ -623,9 +616,6 @@ function _test_rel_step(
#Append inputs to program
program *= convert_input_dict_to_string(step.inputs)

#Append schema inputs to program
program *= convert_input_dict_to_string(step.schema_inputs)

#TODO: Remove this when the incoming tests are appropriately rewritten
program *= generate_output_string_from_expected(step.expected)

Expand Down

0 comments on commit bff097c

Please sign in to comment.