Skip to content

Commit 2e11059

Browse files
committed
doc fix
1 parent 54296e7 commit 2e11059

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

tests/unit/test_model.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -267,6 +267,8 @@ async def test_with_posargs(self, mock_connect, mock_connect_model, _):
267267
max_frame_size='max_frame_size')
268268

269269

270+
# Patch timedelta to immediately force a timeout to avoid introducing an unnecessary delay in the test failing.
271+
# It should be safe to always set it up to lead to a timeout.
270272
@patch('juju.model.timedelta', new=lambda *a, **kw: datetime.timedelta(0))
271273
class TestModelWaitForIdle(asynctest.TestCase):
272274
async def test_no_args(self):

0 commit comments

Comments
 (0)