Files
chatmail-core/python/tests/bench_test_setup.py
holger krekel f11c3dd3e3 fix bench test
2022-05-03 19:35:03 +02:00

19 lines
379 B
Python

"""
run with:
pytest -vv --durations=10 bench_empty.py
to see timings of test setups.
"""
import pytest
class TestEmpty:
def test_prepare_setup_measurings(self, acfactory):
acfactory.get_online_accounts(5)
@pytest.mark.parametrize("num", range(0, 5))
def test_setup_online_accounts(self, acfactory, num):
acfactory.get_online_accounts(num)