Skip to content

Commit c759261

Browse files
MOD: Fix python public smoke tests
1 parent edd2f08 commit c759261

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

examples/live_smoke_test.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -80,18 +80,14 @@ def run_client_with_snapshot(args: argparse.Namespace) -> None:
8080
print("Starting client...")
8181

8282
for record in client:
83-
if isinstance(record, SymbolMappingMsg):
84-
continue
85-
elif isinstance(record, MBOMsg):
83+
if isinstance(record, MBOMsg):
8684
if record.flags & RecordFlags.F_SNAPSHOT:
8785
received_snapshot_record = True
8886
else:
8987
print(f"Received expected record {record}")
9088
break
9189
elif isinstance(record, ErrorMsg):
9290
raise ValueError(f"Received error {record.err}")
93-
else:
94-
raise ValueError(f"Received unexpected record {record}")
9591

9692
print("Finished client")
9793

0 commit comments

Comments
 (0)