Add unittest for e5071c_scpi module.

Rename the unittest from
Correct the import module path and change the code style with factory.
In addition, fixed a lint error and change the exception type from Error
to ValueError as it changes on

TEST=make lint; make test;
and make sure the unittest is executed.

Change-Id: Iab7906f5dd98546a233a08ebaa5c9e142d7632dc
Reviewed-by: Jon Salz <>
Commit-Queue: Chun-Ta Lin <>
Tested-by: Chun-Ta Lin <>
2 files changed