feat: add tests for conf
This commit is contained in:
parent
ae14cb600d
commit
312a48ff5b
4 changed files with 56 additions and 11 deletions
0
tests/settings/empty.toml
Normal file
0
tests/settings/empty.toml
Normal file
19
tests/settings/valid.toml
Normal file
19
tests/settings/valid.toml
Normal 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"
|
||||
Loading…
Add table
Add a link
Reference in a new issue