mirror of
https://github.com/aljazceru/nutshell.git
synced 2025-12-24 03:54:21 +01:00
Chore: update dev dependencies (#658)
* update dev dependencies * test * revert tests * fix event loop scope * ruff format * add old test * remove custom event loop * default loop scope * skip earlier * trigger * trigger again
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
import asyncio
|
||||
import importlib
|
||||
import multiprocessing
|
||||
import os
|
||||
@@ -60,14 +59,6 @@ Path(settings.cashu_dir).mkdir(parents=True, exist_ok=True)
|
||||
# from cashu.mint.startup import lightning_backend # noqa
|
||||
|
||||
|
||||
@pytest.fixture(scope="session")
|
||||
def event_loop():
|
||||
policy = asyncio.get_event_loop_policy()
|
||||
loop = policy.new_event_loop()
|
||||
yield loop
|
||||
loop.close()
|
||||
|
||||
|
||||
class UvicornServer(multiprocessing.Process):
|
||||
def __init__(self, config: Config):
|
||||
super().__init__()
|
||||
|
||||
Reference in New Issue
Block a user