Skip to content

Commit

Permalink
Fixing paths
Browse files Browse the repository at this point in the history
  • Loading branch information
Dozgulbas committed Apr 9, 2024
1 parent ded6ab3 commit 7cfd9e5
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 19 deletions.
1 change: 1 addition & 0 deletions src/fom_rest_node.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
"""Interface for FOM Rest Node"""
8 changes: 4 additions & 4 deletions tests/test_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ class TestImports(TestModule_Base):

def test_driver_import(self):
"""Test the driver and rest node imports"""
import kla_driver
import kla_rest_node
import fom_driver
import fom_rest_node

assert kla_driver
assert kla_rest_node
assert fom_driver
assert fom_rest_node


if __name__ == "__main__":
Expand Down
2 changes: 1 addition & 1 deletion tests/test_module.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ def __init__(self, *args, **kwargs):
self.server_host = self.workcell.config.server_host
self.server_port = self.workcell.config.server_port
self.url = f"http://{self.server_host}:{self.server_port}"
self.module_url = "http://kla_module:3015"
self.module_url = "http://fom_module:3019"
self.redis_host = self.workcell.config.redis_host

# Check to see that server is up
Expand Down
6 changes: 3 additions & 3 deletions tests/workcell_defs/test_workcell.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ config:
#List of all components accessible in this workcell
modules:

- name: kla_module
model: KLA
- name: fom_module
model: fom
interface: wei_rest_node
config:
rest_node_address: "http://kla_module:3015"
rest_node_address: "http://fom_module:3019"
workcell_coordinates: [0, 0, 0, 0, 0, 0]
locations: {}
22 changes: 11 additions & 11 deletions tests/workflow_defs/test_workflow.yaml
Original file line number Diff line number Diff line change
@@ -1,33 +1,33 @@
name: Test KLA Module
name: Test fom Module
metadata:
author: Doga Ozgulbas
info: Tests the functionality of the KLA Module
version: 0.1

modules:
- name: kla_module
- name: fom_module

flowdef:
- name: Load KLA protocol
module: kla_module
- name: Load fom protocol
module: fom_module
action: load_protocol
args:
protocol_file_path: ../README.md
checks: null
comment: Load KLA protocol
comment: Load fom protocol

- name: Run KLA protocol
module: kla_module
- name: Run fom protocol
module: fom_module
action: run_protocol
args:
{}
checks: null
comment: Run KLA protocol
comment: Run fom protocol

- name: Get Output KLA
module: kla_module
- name: Get Output fom
module: fom_module
action: get_output_file
args:
{}
checks: null
comment: Get KLA output file
comment: Get fom output file

0 comments on commit 7cfd9e5

Please sign in to comment.