Skip to content

Commit 78aa809

Browse files
committed
Ficed wrong name
1 parent 3ac80eb commit 78aa809

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/dummy_cs/tango/tango/pyaml/attribute_read_only.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,10 @@ def measure_name(self) -> str:
3131
return self._readback
3232

3333
def set(self, value: float):
34-
raise Exception(f"{self._cfg.name} is read only attribute")
34+
raise Exception(f"{self._cfg.attribute} is read only attribute")
3535

3636
def set_and_wait(self, value: float):
37-
raise Exception(f"{self._cfg.name} is read only attribute")
37+
raise Exception(f"{self._cfg.attribute} is read only attribute")
3838

3939
def get(self) -> float:
4040
return self._cache

0 commit comments

Comments
 (0)