Skip to content

Commit 05f04dc

Browse files
akbakb
authored andcommitted
Add server test
1 parent a2f18d3 commit 05f04dc

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

tests/test_asynch.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
import time
55
import string
66

7-
7+
import requests
88
import pytest
99

1010
from . import config
@@ -28,6 +28,10 @@ def _server():
2828
proc.terminate()
2929

3030

31+
def test_server(server):
32+
assert requests.get("http://localhost:8080/?delay=1")
33+
34+
3135
class Timer:
3236
def __enter__(self):
3337
self.start = time.monotonic()

0 commit comments

Comments
 (0)