Autofix import order
This commit is contained in:
parent
98cdb276d8
commit
7bc4c514a6
59 changed files with 244 additions and 236 deletions
|
|
@ -1,8 +1,8 @@
|
|||
"""Utilities to help with testing the camera."""
|
||||
|
||||
from typing import Optional
|
||||
import tempfile
|
||||
from contextlib import contextmanager
|
||||
from typing import Optional
|
||||
|
||||
from fastapi.testclient import TestClient
|
||||
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
"""Test data collection from the Raspberry Picamera."""
|
||||
|
||||
from PIL import Image
|
||||
import numpy as np
|
||||
from PIL import Image
|
||||
|
||||
|
||||
def test_jpeg_and_array(picamera_client):
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
"""Test data collection from the Raspberry Picamera."""
|
||||
|
||||
from copy import deepcopy
|
||||
import tempfile
|
||||
from copy import deepcopy
|
||||
|
||||
from .cam_test_utils import camera_test_client
|
||||
|
||||
|
|
|
|||
|
|
@ -4,13 +4,12 @@ This can get very tedious. Recommend running pytest with -s option
|
|||
to monitor progress.
|
||||
"""
|
||||
|
||||
from typing import Any
|
||||
import logging
|
||||
import time
|
||||
import tempfile
|
||||
import os
|
||||
import json
|
||||
|
||||
import logging
|
||||
import os
|
||||
import tempfile
|
||||
import time
|
||||
from typing import Any
|
||||
|
||||
from .cam_test_utils import camera_test_client
|
||||
|
||||
|
|
|
|||
|
|
@ -10,7 +10,6 @@ from openflexure_microscope_server.things.camera import (
|
|||
picamera_tuning_file_utils as tf_utils,
|
||||
)
|
||||
|
||||
|
||||
MODEL = Picamera2.global_camera_info()[0]["Model"]
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue