Skip to content

Commit 4141f2a

Browse files
committed
maybe fix pre-commit again?
1 parent 0bd7f31 commit 4141f2a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/test_checks_publisher.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ def setup_check(
9797

9898
# Seed the cache with the publisher state
9999
PUBLISHER_CACHE[(state.publisher_name, state.symbol)].append(
100-
PriceUpdate(self.current_time, state.price)
100+
PriceUpdate(int(self.current_time), state.price)
101101
)
102102

103103
return check
@@ -191,7 +191,7 @@ def test_redemption_rate_passes_check(self):
191191
asset_type="Crypto Redemption Rate",
192192
symbol="Crypto.FUSDC/USDC.RR",
193193
)
194-
check = self.setup_check(state, self.current_time)
194+
check = self.setup_check(state, int(self.current_time))
195195

196196
# Should pass even after long period without changes
197197
self.run_check(check, 3600, True) # 1 hour

0 commit comments

Comments
 (0)