Skip to content

Commit 479ab0d

Browse files
author
Roman
committed
fix test
1 parent 9cc5ce5 commit 479ab0d

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

tests/e2e_tests/test_incentive.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import asyncio
22
import sys
3+
import time
34

45
import pytest
56

@@ -140,8 +141,10 @@ async def test_incentive(local_chain, subtensor, alice_wallet, bob_wallet):
140141

141142
# Get current emissions and validate that Alice has gotten tao
142143
alice_neuron = metagraph.neurons[0]
144+
time.sleep(5)
145+
143146
assert alice_neuron.validator_permit is True
144-
assert alice_neuron.dividends == 1
147+
assert alice_neuron.dividends == 1.0
145148
assert alice_neuron.stake.tao > 0
146149
assert alice_neuron.validator_trust == 1
147150

0 commit comments

Comments
 (0)