nix-builder-autoscaler/buildbot-ext/buildbot_autoscale_ext/tests/__init__.py

12 lines
236 B
Python
Raw Normal View History

"""Tests for buildbot_autoscale_ext."""
import asyncio
from contextlib import suppress
from twisted.internet import asyncioreactor
TEST_LOOP = asyncio.new_event_loop()
with suppress(Exception):
asyncioreactor.install(TEST_LOOP)