Removing objective_thread_pitch from scopes_info

This commit is contained in:
Ian Roddis committed 2026-08-17 15:48:50 -03:00
1 parent 067ddffbe5
commit 292830ae0f
10 files changed
+29 -23

No files matched your search

-3
View File
@@ -26,7 +26,6 @@ HEADERS = [
"url",
"ocular_outer_diameter_mm",
"ocular_fit",
"objective_thread_pitch",
"objective_thread",
"objective_fit",
]
@@ -59,7 +58,6 @@ def _scope_row(**overrides):
"url": "https://example.com/viper",
"ocular_outer_diameter_mm": 40,
"ocular_fit": None,
"objective_thread_pitch": "0.75",
"objective_thread": "M40x0.75",
"objective_fit": None,
}
@@ -142,7 +140,6 @@ async def test_import_creates_scope_with_info_and_attachment_points(db_sessionma
assert info.magnification_max == 25
assert info.model_suffix == "PST"
assert info.objective_lens_diameter_mm == 56
assert info.objective_thread_pitch == "0.75"
aps = await attachment_point_crud.list_for_augmented_part(db, part.id)
by_label = {}