Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix tests for keysight_e4980a #43

Merged

Conversation

jenshnielsen
Copy link

@jenshnielsen jenshnielsen commented Jan 12, 2021

Avoid initial values for 2 parameters in a group.

Setting the initial value will cause the driver to write to the instrument. This gives an error in the tests since the
yaml file does not implement the relevant command. @Akshita07 If this is really intentional we can instead add this to the yaml file.

Also:

Some small formatting cleanups
Rework fixture such that we don't have to suppress a pylint warning
add a needed get_parser

if you pass an initial value this needs to be sent to the instrument

the current sim file does not implement this command so an error will be raised
@Akshita07 Akshita07 merged commit 6625d4d into Akshita07:fixBugKeysightE4980A Jan 12, 2021
@jenshnielsen jenshnielsen deleted the fixBugKeysightE4980A branch January 12, 2021 16:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants