Skip to content

Commit

Permalink
bump versions in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
KaraMelih committed Dec 12, 2023
1 parent c9aa913 commit a16fa87
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion snews_pt/test/test_coincidence_tier.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ def test_coincidence_expected():
assert coin.messages[0].message_data == {'_id': 'KamLAND_CoincidenceTier_2012-06-09T15:30:00.000501',
'detector_name': 'KamLAND',
'machine_time': '2012-06-09T15:30:00.000501',
'schema_version': '1.3.0',
'schema_version': '1.3.1',
'neutrino_time': '2012-06-09T15:31:08.891011',
'is_test': True,
'p_val': None}
Expand Down
2 changes: 1 addition & 1 deletion snews_pt/test/test_heartbeat.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ def test_heartbeat_expected():
assert len(hb.messages) == 1, f"Expected 1 Heartbeat Message got {len(hb.messages)}!"

assert hb.messages[0].message_data == {'_id': 'XENONnT_Heartbeat_2012-06-09T15:30:00.000501',
'schema_version': '1.3.0',
'schema_version': '1.3.1',
'detector_name': 'XENONnT',
'machine_time': '2012-06-09T15:30:00.000501',
'detector_status': 'ON',
Expand Down
2 changes: 1 addition & 1 deletion snews_pt/test/test_retraction.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ def test_retraction():
is_test=True, firedrill_mode=False)
assert retraction_message.selected_tiers == ["SNEWSRetractionMessage"]
assert retraction_message.messages[0].message_data == {'_id': 'KamLAND_Retraction_2012-06-09T15:30:00.000501',
'schema_version': '1.3.0',
'schema_version': '1.3.1',
'detector_name': 'KamLAND',
'machine_time': '2012-06-09T15:30:00.000501',
'retract_latest': 1,
Expand Down
4 changes: 2 additions & 2 deletions snews_pt/test/test_significance_tier.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ def test_significance_expected():
# Check that message has expected structure.
assert sign.selected_tiers == ['SNEWSCoincidenceTierMessage', 'SNEWSSignificanceTierMessage']
assert sign.messages[0].message_data == {'_id': 'DS-20K_CoincidenceTier_2012-06-09T15:30:00.000501',
'schema_version': '1.3.0',
'schema_version': '1.3.1',
'detector_name': 'DS-20K',
'machine_time': '2012-06-09T15:30:00.000501',
'neutrino_time': '2012-06-09T15:31:08.109876',
Expand All @@ -31,7 +31,7 @@ def test_significance_expected():
'firedrill_mode': False}

assert sign.messages[1].message_data == {'_id': 'DS-20K_SignificanceTier_2012-06-09T15:30:00.000501',
'schema_version': '1.3.0',
'schema_version': '1.3.1',
'detector_name': 'DS-20K',
'machine_time': '2012-06-09T15:30:00.000501',
'p_values': [0.4, 0.5],
Expand Down
2 changes: 1 addition & 1 deletion snews_pt/test/test_timing_tier.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ def test_timing_expected():
# # Check that message has expected structure.
assert tims.selected_tiers == ['SNEWSTimingTierMessage']
assert tims.messages[0].message_data == {'_id': 'XENONnT_TimingTier_2012-06-09T15:30:00.009876',
'schema_version': '1.3.0',
'schema_version': '1.3.1',
'detector_name': 'XENONnT',
'machine_time': '2012-06-09T15:30:00.009876',
'p_val': None,
Expand Down

0 comments on commit a16fa87

Please sign in to comment.