Skip to content

Commit

Permalink
Align AutomationRunData for specklepy 2.17.6
Browse files Browse the repository at this point in the history
  • Loading branch information
oguzhankoral committed Oct 25, 2023
1 parent b80dc93 commit 639d92d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_function.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ def automation_run_data(
automation_run_id=automation_run_id,
function_id=function_id,
function_name="test",
function_release=function_release,
function_logo=function_release,
)


Expand All @@ -142,7 +142,7 @@ def test_function_run(automation_run_data: AutomationRunData, speckle_token: str
automate_sdk = run_function(
AutomationContext.initialize(automation_run_data, speckle_token),
automate_function,
FunctionInputs(wind_speed=10, wind_direction=0),
FunctionInputs(wind_speed=10, wind_direction=45),
)

assert automate_sdk.run_status == AutomationStatus.FAILED

0 comments on commit 639d92d

Please sign in to comment.