Skip to content

Commit

Permalink
Solve pytest timeout problem. (#1540)
Browse files Browse the repository at this point in the history
  • Loading branch information
janiversen authored May 17, 2023
1 parent e7efbe5 commit b04f774
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -251,6 +251,7 @@ upload_dir = build/sphinx/html
testpaths = test
addopts = -p no:warnings --dist loadgroup --numprocesses auto
asyncio_mode = auto
timeout = 40


[coverage:run]
Expand Down
1 change: 1 addition & 0 deletions test/transport/test_basic.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ def test_connection_made(self):
base.cb_connection_made.assert_called_once()
base.cb_connection_lost.assert_not_called()
base.cb_handle_data.assert_not_called()
base.close()

def test_connection_lost(self):
"""Test properties."""
Expand Down

0 comments on commit b04f774

Please sign in to comment.