Skip to content

Commit 96f1f45

Browse files
committed
chore(tests): update test to expect timeout as a parameter
1 parent e3f53df commit 96f1f45

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/pytest/core/test_models.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
from django.conf import settings
12
import pytest
23

34
from benefits.core.models import EligibilityType, EligibilityVerifier, TransitAgency
@@ -29,7 +30,7 @@ def test_PemData_data_remote(model_PemData, mocker):
2930
assert model_PemData.text
3031
assert data == "PEM text"
3132
assert data == model_PemData.text
32-
requests_spy.assert_called_once_with(model_PemData.remote_url)
33+
requests_spy.assert_called_once_with(model_PemData.remote_url, timeout=settings.REQUESTS_TIMEOUT)
3334

3435

3536
@pytest.mark.django_db

0 commit comments

Comments
 (0)