Closed dmgav closed 9 months ago
The failing test is test_bobfiles_created
. The failure is not related to changes in this PR, since the test was failing before any changes were made. The new set of files can be generated if necessary.
The failing test is
test_bobfiles_created
. The failure is not related to changes in this PR, since the test was failing before any changes were made. The new set of files can be generated if necessary.
This is fixed in https://github.com/PandABlocks/PandABlocks-ioc/pull/92
All modified and coverable lines are covered by tests :white_check_mark:
Comparison is base (
03f55bf
) 90.01% compared to head (236d252
) 90.02%. Report is 2 commits behind head on main.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
This PR adds support for PV prefixes with contain
':'
(colon) characters, such asPANDA:ES
. The existing code failed to properly handle such PVs, since the_RecordUpdater
class was separating PV name into prefix and record name by splitting the PV name using':'
as a separator. Changes proposed in this PR, replace splitting-based method by explicit removal of the known prefix from the PV name. Therecord_prefix
is added as an attribute of the_RecordUpdater
class.The changes are not expected to modify the behavior of the IOC. Unit tests are modified to reflect changes in the code.