Skip to content

Commit

Permalink
Fix test server
Browse files Browse the repository at this point in the history
  • Loading branch information
jacquelinegarrahan committed May 27, 2022
1 parent 38425e1 commit 69809ef
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions lume_epics/tests/launch_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,7 @@ class TestModel(BaseModel):
"output4": ArrayOutputVariable(name="output4"),
}

def evaluate(self, input_variables):
self.input_variables = {variable.name: variable for variable in input_variables}
def evaluate(self, input_variables: dict):

self.output_variables["output1"].value = (
self.input_variables["input1"].value * 2
Expand Down Expand Up @@ -111,7 +110,7 @@ def evaluate(self, input_variables):
)

# return inputs * 2
return list(self.output_variables.values())
return self.output_variables


if __name__ == "__main__":
Expand Down

0 comments on commit 69809ef

Please sign in to comment.