@@ -98,7 +98,7 @@ mod test {
98
98
}
99
99
100
100
#[ motsu:: test]
101
- fn e2e_valid_test (
101
+ fn tests_pyth_end_to_end_with_update (
102
102
pyth_contract : Contract < PythReceiver > ,
103
103
wormhole_contract : Contract < WormholeContract > ,
104
104
alice : Address ,
@@ -130,7 +130,7 @@ mod test {
130
130
}
131
131
132
132
#[ motsu:: test]
133
- fn test_update_price_feed_insufficient_fee (
133
+ fn test_update_price_feed_reverts_insufficient_fee (
134
134
pyth_contract : Contract < PythReceiver > ,
135
135
wormhole_contract : Contract < WormholeContract > ,
136
136
alice : Address ,
@@ -149,7 +149,7 @@ mod test {
149
149
}
150
150
151
151
#[ motsu:: test]
152
- fn test_get_price_after_multiple_updates (
152
+ fn test_get_price_after_multiple_updates_returns_recent_price (
153
153
pyth_contract : Contract < PythReceiver > ,
154
154
wormhole_contract : Contract < WormholeContract > ,
155
155
alice : Address ,
@@ -186,7 +186,7 @@ mod test {
186
186
}
187
187
188
188
#[ motsu:: test]
189
- fn test_get_price_unavailable_no_update (
189
+ fn test_get_price_with_no_update_reverts_with_price_unavailable (
190
190
pyth_contract : Contract < PythReceiver > ,
191
191
wormhole_contract : Contract < WormholeContract > ,
192
192
alice : Address ,
@@ -202,7 +202,7 @@ mod test {
202
202
}
203
203
204
204
#[ motsu:: test]
205
- fn test_get_price_no_older_than_unavailable_random_id (
205
+ fn test_get_price_no_older_than_with_random_id_reverts_with_price_unavailable (
206
206
pyth_contract : Contract < PythReceiver > ,
207
207
wormhole_contract : Contract < WormholeContract > ,
208
208
alice : Address ,
@@ -226,7 +226,7 @@ mod test {
226
226
}
227
227
228
228
#[ motsu:: test]
229
- fn test_get_price_no_older_than_valid_max_age (
229
+ fn test_get_price_no_older_than_where_update_younger_than_max_age_returns_price (
230
230
pyth_contract : Contract < PythReceiver > ,
231
231
wormhole_contract : Contract < WormholeContract > ,
232
232
alice : Address ,
@@ -259,7 +259,7 @@ mod test {
259
259
}
260
260
261
261
#[ motsu:: test]
262
- fn test_get_price_no_older_than_too_old (
262
+ fn test_get_price_no_older_than_reverts_too_old (
263
263
pyth_contract : Contract < PythReceiver > ,
264
264
wormhole_contract : Contract < WormholeContract > ,
265
265
alice : Address ,
@@ -285,7 +285,7 @@ mod test {
285
285
}
286
286
287
287
#[ motsu:: test]
288
- fn test_multiple_updates_both_ids (
288
+ fn test_multiple_updates_different_ids_updates_both (
289
289
pyth_contract : Contract < PythReceiver > ,
290
290
wormhole_contract : Contract < WormholeContract > ,
291
291
alice : Address ,
0 commit comments