-
Notifications
You must be signed in to change notification settings - Fork 1
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
Make database file optional for EpicsAdapter #134
Conversation
Codecov Report
@@ Coverage Diff @@
## master #134 +/- ##
==========================================
+ Coverage 92.48% 93.23% +0.74%
==========================================
Files 45 45
Lines 1225 1226 +1
==========================================
+ Hits 1133 1143 +10
+ Misses 92 83 -9
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seams okay to me, would probably be worth putting a test in for the different cases. Also what do you think about writing an epics adapter for one of the example devices, maybe the amplifier? It would be without a db and could be run with the work rose is doing for system tests.
Yeah that sounds like a good idea. Will take a look at that tomorrow. |
388f84c
to
6fc4afa
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These two tests should maintain the coverage but they could possibly be improved.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
After some discussion, we think to just ignore the types on the mocked functions and it should be happy.
6fc4afa
to
f4de9b8
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM,
f4de9b8
to
4779811
Compare
This is to make clear that the method is concerned with loading an actual db file.
4779811
to
6dc6cd4
Compare
The db_file parameter has been changed to an optional parameter. See DiamondLightSource/tickit#134
The db_file parameter has been changed to an optional parameter. See DiamondLightSource/tickit#134
The db_file parameter has been changed to an optional parameter. See DiamondLightSource/tickit#134
No description provided.