sot / kadi

Chandra commands and events
https://sot.github.io/kadi
BSD 3-Clause "New" or "Revised" License
5 stars 3 forks source link

Use cached property in commands validation #295

Closed taldcroft closed 7 months ago

taldcroft commented 10 months ago

Description

This just moves to code to use a nicer pattern for cached properties. This required a slight change in when the exclude intervals are fetched from Google sheets.

The PR also makes one small out-of-scope change to remove the unused update_tlm() base method. That originally served a purpose but is no longer used.

Interface impacts

Testing

Used local ska3-performance installation.

Unit tests

kadi/commands/tests/test_commands.py ........................................................................... [ 34%] kadi/commands/tests/test_states.py ......................x.............................................x............. [ 72%] .......... [ 76%] kadi/commands/tests/test_validate.py ................... [ 85%] kadi/tests/test_events.py .......... [ 89%] kadi/tests/test_occweb.py ...................... [100%]

======================================== 216 passed, 2 xfailed in 135.94s (0:02:15) =========================================



Independent check of unit tests by Jean
- [x] Linux

### Functional tests
<!-- Describe and document results of any functional tests, otherwise leave the text below -->
No functional testing.