@@ -444,12 +444,11 @@ def test_replay_with_stub_data_record_passes_to_callback(
444
444
445
445
# Assert
446
446
assert isinstance (record , MBOMsg )
447
- assert record .hd .length == 14
448
- assert record .hd .rtype == 160
449
- assert record .hd .rtype == 160
450
- assert record .hd .publisher_id == 1
451
- assert record .hd .instrument_id == 5482
452
- assert record .hd .ts_event == 1609099225061045683
447
+ assert record .rtype == 160
448
+ assert record .rtype == 160
449
+ assert record .publisher_id == 1
450
+ assert record .instrument_id == 5482
451
+ assert record .ts_event == 1609099225061045683
453
452
assert record .order_id == 647784248135
454
453
assert record .price == 3675750000000
455
454
assert record .size == 2
@@ -1036,12 +1035,11 @@ def test_dbnstore_iterable(
1036
1035
second : MBOMsg = record_list [1 ] # type: ignore [assignment]
1037
1036
1038
1037
# Assert
1039
- assert first .hd .length == 14
1040
- assert first .hd .rtype == 160
1041
- assert first .hd .rtype == 160
1042
- assert first .hd .publisher_id == 1
1043
- assert first .hd .instrument_id == 5482
1044
- assert first .hd .ts_event == 1609099225061045683
1038
+ assert first .rtype == 160
1039
+ assert first .rtype == 160
1040
+ assert first .publisher_id == 1
1041
+ assert first .instrument_id == 5482
1042
+ assert first .ts_event == 1609099225061045683
1045
1043
assert first .order_id == 647784248135
1046
1044
assert first .price == 3675750000000
1047
1045
assert first .size == 2
@@ -1053,12 +1051,11 @@ def test_dbnstore_iterable(
1053
1051
assert first .ts_in_delta == 0
1054
1052
assert first .sequence == 1180
1055
1053
1056
- assert second .hd .length == 14
1057
- assert second .hd .rtype == 160
1058
- assert second .hd .rtype == 160
1059
- assert second .hd .publisher_id == 1
1060
- assert second .hd .instrument_id == 5482
1061
- assert second .hd .ts_event == 1609099225061045683
1054
+ assert second .rtype == 160
1055
+ assert second .rtype == 160
1056
+ assert second .publisher_id == 1
1057
+ assert second .instrument_id == 5482
1058
+ assert second .ts_event == 1609099225061045683
1062
1059
assert second .order_id == 647782686353
1063
1060
assert second .price == 3675500000000
1064
1061
assert second .size == 1
0 commit comments