We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0bd7f31 commit 4141f2aCopy full SHA for 4141f2a
tests/test_checks_publisher.py
@@ -97,7 +97,7 @@ def setup_check(
97
98
# Seed the cache with the publisher state
99
PUBLISHER_CACHE[(state.publisher_name, state.symbol)].append(
100
- PriceUpdate(self.current_time, state.price)
+ PriceUpdate(int(self.current_time), state.price)
101
)
102
103
return check
@@ -191,7 +191,7 @@ def test_redemption_rate_passes_check(self):
191
asset_type="Crypto Redemption Rate",
192
symbol="Crypto.FUSDC/USDC.RR",
193
194
- check = self.setup_check(state, self.current_time)
+ check = self.setup_check(state, int(self.current_time))
195
196
# Should pass even after long period without changes
197
self.run_check(check, 3600, True) # 1 hour
0 commit comments