mirror of
https://github.com/bigchaindb/bigchaindb.git
synced 2024-10-13 13:34:05 +00:00
fixed failing test
This commit is contained in:
parent
6d41f6971d
commit
c56f745ba6
@ -526,6 +526,8 @@ class TestBlockStream(object):
|
||||
def test_if_old_blocks_get_should_return_old_block_first(self, b):
|
||||
# create two blocks
|
||||
block_1 = dummy_block()
|
||||
# sleep so that block_2 as an higher timestamp then block_1
|
||||
time.sleep(1)
|
||||
block_2 = dummy_block()
|
||||
|
||||
# write the blocks
|
||||
|
Loading…
x
Reference in New Issue
Block a user