From 62a5e89c9983da37412199a1b9a7ece93610f526 Mon Sep 17 00:00:00 2001 From: holgern <holgernahrstaedt@gmx.de> Date: Sun, 22 Sep 2019 13:08:41 +0200 Subject: [PATCH] Speed up test --- tests/beem/test_account.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/beem/test_account.py b/tests/beem/test_account.py index 17dedb03..5ed71971 100644 --- a/tests/beem/test_account.py +++ b/tests/beem/test_account.py @@ -451,7 +451,7 @@ class Testcases(unittest.TestCase): h_all_raw.append(h) last_block = h_all_raw[0]["block"] i = 1 - for op in h_all_raw[1:]: + for op in h_all_raw[1:5]: new_block = op["block"] block_num = last_block + int((new_block - last_block) / 2) op_num = account.estimate_virtual_op_num(block_num, stop_diff=0.1, max_count=100) -- GitLab