Skip to content

Commit

Permalink
Increase delta in blockcount unittest
Browse files Browse the repository at this point in the history
  • Loading branch information
Cryp Toon committed May 18, 2024
1 parent 0d5b039 commit eeb44a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_services.py
Original file line number Diff line number Diff line change
Expand Up @@ -609,7 +609,7 @@ def test_service_blockcount(self):
n_blocks = None
for provider in srv.results:
if n_blocks is not None:
self.assertAlmostEqual(srv.results[provider], n_blocks, delta=25000 if nw == 'testnet' else 3,
self.assertAlmostEqual(srv.results[provider], n_blocks, delta=200,
msg="Network %s, provider %s value %d != %d" %
(nw, provider, srv.results[provider], n_blocks))
n_blocks = srv.results[provider]
Expand Down

0 comments on commit eeb44a4

Please sign in to comment.