Improve docs for hardware specific tests
This commit is contained in:
parent
11c8f47e20
commit
a43a82213d
4 changed files with 61 additions and 11 deletions
|
|
@ -5,12 +5,16 @@ import numpy as np
|
|||
|
||||
from labthings_fastapi.server import ThingServer
|
||||
from labthings_fastapi.client import ThingClient
|
||||
from labthings_picamera2.thing import StreamingPiCamera2
|
||||
|
||||
from openflexure_microscope_server.things.camera.picamera import StreamingPiCamera2
|
||||
|
||||
logging.basicConfig(level=logging.DEBUG)
|
||||
|
||||
|
||||
def test_sensor_mode():
|
||||
"""
|
||||
Test capturing raw arrays in two different sensor modes
|
||||
"""
|
||||
cam = StreamingPiCamera2()
|
||||
server = ThingServer()
|
||||
server.add_thing(cam, "/camera/")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue