actually enable online account caching. previously it was creating (>100) online test accounts

This commit is contained in:
holger krekel
2022-05-05 13:13:54 +02:00
parent 34053c7608
commit c8bfa98b6b
5 changed files with 48 additions and 31 deletions

View File

@@ -8,11 +8,13 @@ to see timings of test setups.
import pytest
BENCH_NUM = 3
class TestEmpty:
def test_prepare_setup_measurings(self, acfactory):
acfactory.get_online_accounts(5)
acfactory.get_online_accounts(BENCH_NUM)
@pytest.mark.parametrize("num", range(0, 5))
@pytest.mark.parametrize("num", range(0, BENCH_NUM + 1))
def test_setup_online_accounts(self, acfactory, num):
acfactory.get_online_accounts(num)