Fix test_event_handler

This commit is contained in:
Kristóf Tóth 2019-07-15 11:09:43 +02:00
parent adf2672cd4
commit 45a9a753b2

View File

@ -4,7 +4,7 @@ from random import randint
import pytest import pytest
from .event_handler_factory import EventHandlerFactoryBase from .event_handler_factory_base import EventHandlerFactoryBase
from .event_handler import EventHandler from .event_handler import EventHandler
@ -71,7 +71,7 @@ def test_msg():
@pytest.fixture @pytest.fixture
def test_keys(): def test_keys():
yield [ yield [
token_urlsafe(randint(2, 8)) token_urlsafe(randint(2, 8))
for _ in range(randint(16, 32)) for _ in range(randint(16, 32))
] ]