Skip to content

Commit ea2011a

Browse files
committed
update tests to match new API
1 parent 520a95b commit ea2011a

File tree

1 file changed

+2
-17
lines changed

1 file changed

+2
-17
lines changed

tests/nextpyp/client/realtime_services/test_sessions.py

Lines changed: 2 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,6 @@
4040
SessionExportResultFailed,
4141
SessionExportResult,
4242
TiltSeriesData,
43-
TomoSpkMethod,
44-
TomoVirDetectMethod,
45-
TomoVirMethod,
4643
TwoDClassesData
4744
)
4845
from nextpyp.client.realtime import RealtimeServiceError
@@ -117,13 +114,7 @@ async def test_recv_status() -> None:
117114
"size": 5,
118115
"status": "Running"
119116
}
120-
],
121-
"tomoVirMethod": "None",
122-
"tomoVirRad": 0.0,
123-
"tomoVirBinn": 2,
124-
"tomoVirDetectMethod": "None",
125-
"tomoSpkMethod": "None",
126-
"tomoSpkRead": 4.2
117+
]
127118
})
128119

129120
async with client.realtime_services.single_particle_session as srv:
@@ -138,13 +129,7 @@ async def test_recv_status() -> None:
138129
size=5,
139130
status=RunStatus.Running
140131
)
141-
],
142-
tomo_vir_method=TomoVirMethod.NoneVal,
143-
tomo_vir_rad=0.0,
144-
tomo_vir_binn=2,
145-
tomo_vir_detect_method=TomoVirDetectMethod.NoneVal,
146-
tomo_spk_method=TomoSpkMethod.NoneVal,
147-
tomo_spk_rad=4.2
132+
]
148133
)
149134

150135

0 commit comments

Comments
 (0)