Skip to content

Commit

Permalink
fix conftest
Browse files Browse the repository at this point in the history
  • Loading branch information
voidZXL committed Apr 6, 2024
1 parent 0948154 commit 44764a0
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ def service(request):
from django.test.testcases import QuietWSGIRequestHandler # noqa
# from asgiref.server import StatelessServer
# server = StatelessServer()
from daphne.server import Server
# from daphne.server import Server
from typing import Optional


Expand Down Expand Up @@ -271,9 +271,8 @@ def run_server(backend: str = None, port: int = None, asynchronous: bool = None)
if asynchronous:
service.set_asynchronous(asynchronous)

from utilmeta.utils.schema.z_cov import cov
cov()

# from utilmeta.utils.schema.z_cov import cov
# cov()
# with open('./log', 'a') as f:
# f.write(f'=========================== SERVER RUN: {backend}, {port}, {asynchronous}\n')

Expand Down

0 comments on commit 44764a0

Please sign in to comment.