Skip to content

Added test cases for new Eurotherm records#673

Merged
FreddieAkeroyd merged 6 commits into
masterfrom
Ticket8688_Fix_Eurotherm_NewFields
Jun 8, 2026
Merged

Added test cases for new Eurotherm records#673
FreddieAkeroyd merged 6 commits into
masterfrom
Ticket8688_Fix_Eurotherm_NewFields

Conversation

@Chsudeepta

Copy link
Copy Markdown
Contributor

This is related with the ticket

With additional PVs added the previous delay caused too big a backlog
causing this and other tests to fail
@FreddieAkeroyd FreddieAkeroyd force-pushed the Ticket8688_Fix_Eurotherm_NewFields branch from 1fa5191 to a289364 Compare June 6, 2026 22:32
Comment thread common_tests/eurotherm.py Outdated
Comment thread common_tests/eurotherm.py Outdated
@parameterized.expand(parameterized_list(TEST_VALUES))
@skip_if_recsim("Backdoor not available in recsim")
def test_WHEN_automan_set_via_backdoor_THEN_automan_updates(self, _, val):
self.ca.set_pv_value("A01:AUTOMAN", 1)

@FreddieAkeroyd FreddieAkeroyd Jun 6, 2026

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The test should be setting AUTOMAN:SP rather than AUTOMAN. Also you coudl make the parameterised list have [0,1] and then use val in the test

Comment thread common_tests/eurotherm.py
Comment thread common_tests/eurotherm.py Outdated
self.ca.set_pv_value("A01:AUTOMAN", 0)
self.ca.assert_that_pv_is("A01:AUTOMAN", "OFF")

@parameterized.expand(parameterized_list(TEST_VALUES))

@FreddieAkeroyd FreddieAkeroyd Jun 6, 2026

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you probably need different values here in the parameterised list e.g. 0 and 1 and ten you can use val in your tests - similar to as with AUTOMAN above

@FreddieAkeroyd FreddieAkeroyd merged commit 095eb36 into master Jun 8, 2026
4 checks passed
@FreddieAkeroyd FreddieAkeroyd deleted the Ticket8688_Fix_Eurotherm_NewFields branch June 8, 2026 17:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants