Skip to content

Commit a62c126

Browse files
committed
fix
1 parent 08d4b2f commit a62c126

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/test_http_asgi.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -301,4 +301,4 @@ def test_calling_shutdown_without_startup_errors(self):
301301
with pytest.raises(RuntimeError):
302302
asyncio.get_event_loop().run_until_complete(
303303
middleware.notify_shutdown()
304-
)
304+
)

tests/test_http_wsgi.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
import threading
44
import unittest
55
from io import StringIO, BytesIO
6-
from unittest.mock import MagicMock
76

87
import pytest
98

@@ -17,6 +16,7 @@
1716
)
1817
from azure.functions._http_asgi import AsgiRequest
1918

19+
2020
class WsgiException(Exception):
2121
def __init__(self, message=''):
2222
self.message = message

0 commit comments

Comments
 (0)