Skip to content

Commit

Permalink
Match config schema; Add MTReflector test case
Browse files Browse the repository at this point in the history
  • Loading branch information
couger01 authored and parfa30 committed Nov 4, 2024
1 parent 022e03e commit be07ddc
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 12 deletions.
7 changes: 1 addition & 6 deletions MTReflector/v1/_init.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1 @@
device_type: T4
connection_type: TCP
identifier: 127.0.0.1
sensor_name: local_ljm
channel_names: FIO7
location: local_network
# keep for git
8 changes: 5 additions & 3 deletions MTReflector/v1/_summit.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
device_type: T4
connection_type: TCP
identifier: 127.0.0.1
sensor_name: local_ljm
channel_names: FIO7
location: local_network
topics:
- sensor_name: local_ljm
channel_name: FIO7
location: local_network
topic_name: local
8 changes: 5 additions & 3 deletions MTReflector/v1/_tucson.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
device_type: T4
connection_type: TCP
identifier: 127.0.0.1
sensor_name: local_ljm
channel_names: FIO7
location: local_network
topics:
- sensor_name: local_ljm
channel_name: FIO7
location: local_network
topic_name: local
8 changes: 8 additions & 0 deletions tests/test_config_files.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,3 +52,11 @@ def test_TunableLaser(self):
schema_name="CONFIG_SCHEMA",
config_package_root=self.config_package_root,
)

def test_MTReflector(self):
self.check_standard_config_files(
module_name="lsst.ts.mtreflector",
schema_name="CONFIG_SCHEMA",
sal_name="MTReflector",
config_package_root=self.config_package_root,
)

0 comments on commit be07ddc

Please sign in to comment.