Renamed pi.StreamingCamera to PiCameraStreamer
This commit is contained in:
parent
e82665502f
commit
4715726e9c
3 changed files with 15 additions and 15 deletions
|
|
@ -1,5 +1,5 @@
|
|||
#!/usr/bin/env python
|
||||
from openflexure_microscope.camera.pi import StreamingCamera, CaptureObject
|
||||
from openflexure_microscope.camera.pi import PiCameraStreamer, CaptureObject
|
||||
|
||||
import os
|
||||
import io
|
||||
|
|
@ -279,7 +279,7 @@ class TestThreadStarting(unittest.TestCase):
|
|||
|
||||
|
||||
if __name__ == '__main__':
|
||||
with StreamingCamera() as camera:
|
||||
with PiCameraStreamer() as camera:
|
||||
|
||||
suites = [
|
||||
unittest.TestLoader().loadTestsFromTestCase(TestCaptureMethods),
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
#!/usr/bin/env python
|
||||
from openflexure_microscope.camera.pi import StreamingCamera
|
||||
from openflexure_microscope.camera.pi import PiCameraStreamer
|
||||
from openflexure_stage import OpenFlexureStage
|
||||
from openflexure_microscope import Microscope, config
|
||||
|
||||
|
|
@ -31,7 +31,7 @@ class TestPluginMethods(unittest.TestCase):
|
|||
|
||||
if __name__ == '__main__':
|
||||
|
||||
with Microscope(StreamingCamera(), OpenFlexureStage("/dev/ttyUSB0")) as microscope:
|
||||
with Microscope(PiCameraStreamer(), OpenFlexureStage("/dev/ttyUSB0")) as microscope:
|
||||
|
||||
microscope.plugin.attach("openflexure_microscope.plugins.testing:Plugin")
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue