Fixed attaching devices in plugin tests
This commit is contained in:
parent
78859b0766
commit
29e1569e2d
1 changed files with 3 additions and 1 deletions
|
|
@ -31,7 +31,9 @@ class TestPluginMethods(unittest.TestCase):
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
|
|
||||||
with Microscope(PiCameraStreamer(), OpenFlexureStage("/dev/ttyUSB0")) as microscope:
|
with Microscope() as microscope:
|
||||||
|
|
||||||
|
microscope.attach(PiCameraStreamer(), OpenFlexureStage())
|
||||||
|
|
||||||
microscope.plugin.attach("openflexure_microscope.plugins.testing:Plugin")
|
microscope.plugin.attach("openflexure_microscope.plugins.testing:Plugin")
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue