Commit 82a0415e authored by Matias Guijarro's avatar Matias Guijarro

tests: add test for issue with capital letters in Beacon yml files

parent 31b14e40
Pipeline #14060 passed with stages
in 40 minutes and 17 seconds
......@@ -205,3 +205,13 @@ def test_bad_icepap_host(beacon):
with pytest.raises(RuntimeError):
a = bad_mot.position
def test_capital_letter_file(beacon):
# files starting with capital letter were causing problems,
# see merge request !1524
# (this was because the files were read before __init__.yml)
# This test just makes sure the object from 'A.yml' is properly
# returned as expected
x = beacon.get("Aunused")
assert x
controller:
- class: mockup
axes:
- name: Aunused
steps_per_unit: 10000
velocity: 100
acceleration: 300
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment