feat: add tests for conf

This commit is contained in:
alban 2023-06-03 23:27:12 +02:00
parent ae14cb600d
commit 312a48ff5b
4 changed files with 56 additions and 11 deletions

View file

19
tests/settings/valid.toml Normal file
View file

@ -0,0 +1,19 @@
# file: valid.toml
# The main key of your laser in LJ
laser_id = 0
# Activate for more debug
debug = "true"
# Redis URL as IP:port
redis_url = "127.0.0.1"
# Either Helios or Etherdream
dac_family = "Helios"
# For Helios. USB Device Id of the DAC
dac_id = 0
# For Etherdream. IP of the DAC
dac_url = "192.168.1.68"